Fixed visualizer init (#3667)
This commit is contained in:
@@ -268,8 +268,10 @@ namespace Content.Server.GameObjects.Components.Power.ApcNetComponents.PowerRece
|
|||||||
|
|
||||||
var entity = Owner.EntityManager.SpawnEntity(prototype, Owner.Transform.Coordinates);
|
var entity = Owner.EntityManager.SpawnEntity(prototype, Owner.Transform.Coordinates);
|
||||||
_lightBulbContainer.Insert(entity);
|
_lightBulbContainer.Insert(entity);
|
||||||
UpdateLight();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// need this to update visualizers
|
||||||
|
UpdateLight();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void TriggerSignal(bool signal)
|
public void TriggerSignal(bool signal)
|
||||||
|
|||||||
Reference in New Issue
Block a user