Explosion refactor TEST MERG (#6995)
* Explosions * fix yaml typo and prevent silly UI inputs * oop Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
This commit is contained in:
@@ -50,6 +50,8 @@ namespace Content.Server.NodeContainer.EntitySystems
|
||||
private int _gen = 1;
|
||||
private int _groupNetIdCounter = 1;
|
||||
|
||||
public bool Snoozing = false;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
@@ -138,8 +140,11 @@ namespace Content.Server.NodeContainer.EntitySystems
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
DoGroupUpdates();
|
||||
VisDoUpdate(frameTime);
|
||||
if (!Snoozing)
|
||||
{
|
||||
DoGroupUpdates();
|
||||
VisDoUpdate(frameTime);
|
||||
}
|
||||
}
|
||||
|
||||
private void DoGroupUpdates()
|
||||
|
||||
Reference in New Issue
Block a user