Extremely basic game ticker. (#126)
You can theoretically restart the round (resetting the map) now, but it breaks very badly if a client is connected due to various edge cases/race conditions.
This commit is contained in:
committed by
GitHub
parent
744af3be3e
commit
574512f1bf
@@ -123,6 +123,11 @@ namespace Content.Client.GameObjects.Components.Storage
|
||||
if(!spriteComp.Running)
|
||||
return;
|
||||
|
||||
if (spriteComp.BaseRSI == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var baseName = spriteComp.LayerGetState(0).Name;
|
||||
|
||||
var stateId = open ? $"{baseName}_open" : $"{baseName}_door";
|
||||
|
||||
Reference in New Issue
Block a user