Fixes secret only adding game rules, not starting them (#11005)

This commit is contained in:
Kara
2022-09-03 18:40:00 -07:00
committed by GitHub
parent 547af7c7e8
commit 3e409528ce
3 changed files with 55 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ public sealed class SecretRuleSystem : GameRuleSystem
foreach (var rule in _prototypeManager.Index<GamePresetPrototype>(preset).Rules)
{
_ticker.AddGameRule(_prototypeManager.Index<GameRulePrototype>(rule));
_ticker.StartGameRule(_prototypeManager.Index<GameRulePrototype>(rule));
}
}
}