Content fixes for timeoffsets (#15934)
This commit is contained in:
@@ -45,7 +45,6 @@ public sealed class SmokeSystem : EntitySystem
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<SmokeComponent, EntityUnpausedEvent>(OnSmokeUnpaused);
|
||||
SubscribeLocalEvent<SmokeComponent, MapInitEvent>(OnSmokeMapInit);
|
||||
SubscribeLocalEvent<SmokeComponent, ReactionAttemptEvent>(OnReactionAttempt);
|
||||
SubscribeLocalEvent<SmokeComponent, SpreadNeighborsEvent>(OnSmokeSpread);
|
||||
SubscribeLocalEvent<SmokeDissipateSpawnComponent, TimedDespawnEvent>(OnSmokeDissipate);
|
||||
@@ -166,11 +165,6 @@ public sealed class SmokeSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
private void OnSmokeMapInit(EntityUid uid, SmokeComponent component, MapInitEvent args)
|
||||
{
|
||||
component.NextReact = _timing.CurTime;
|
||||
}
|
||||
|
||||
private void OnSmokeUnpaused(EntityUid uid, SmokeComponent component, ref EntityUnpausedEvent args)
|
||||
{
|
||||
component.NextReact += args.PausedTime;
|
||||
|
||||
Reference in New Issue
Block a user