Event refactor (#9589)
* Station event refactor * Remove clientside `IStationEventManager` we can just use prototypes * Basic API idea * Cruft * first attempt at epicness * okay yeah this shit is really clean * sort out minor stuff * Convert `BreakerFlip` * `BureaucraticError` + general cleanup * `DiseaseOutbreak` * `FalseAlarm` * `GasLeak` * `KudzuGrowth` * `MeteorSwarm` * `MouseMigration` * misc errors * `PowerGridCheck` * `RandomSentience` * `VentClog` * `VentCritters` * `ZombieOutbreak` * Rewrite basic event scheduler * Minor fixes and logging * ooooops * errors + fix * linter * completions, `RuleStarted` property, update loop fixes * Tweaks * Fix #9462 * Basic scheduler update fix, and fixes #8174 * Add test * UI cleanup * really this was just for testing
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Content.Server.Spawners.EntitySystems
|
||||
|
||||
foreach (var rule in component.GameRules)
|
||||
{
|
||||
if (!_ticker.GameRuleStarted(rule)) continue;
|
||||
if (!_ticker.IsGameRuleStarted(rule)) continue;
|
||||
Spawn(component);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user