Fix loneops (#15874)
This commit is contained in:
parent
0821f53b8a
commit
f028b35ce2
|
|
@ -4,7 +4,7 @@ namespace Content.Server.GameTicking.Rules;
|
|||
|
||||
public abstract class GameRuleSystem<T> : EntitySystem where T : Component
|
||||
{
|
||||
[Dependency] protected GameTicker GameTicker = default!;
|
||||
[Dependency] protected readonly GameTicker GameTicker = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -20,7 +20,10 @@ public sealed class LoneOpsSpawnRule : StationEventSystem<LoneOpsSpawnRuleCompon
|
|||
base.Started(uid, component, gameRule, args);
|
||||
|
||||
if (!_nukeopsRuleSystem.CheckLoneOpsSpawn())
|
||||
{
|
||||
ForceEndSelf(uid, gameRule);
|
||||
return;
|
||||
}
|
||||
|
||||
var shuttleMap = _mapManager.CreateMap();
|
||||
var options = new MapLoadOptions
|
||||
|
|
|
|||
|
|
@ -279,4 +279,3 @@
|
|||
reoccurrenceDelay: 25
|
||||
duration: 1
|
||||
- type: LoneOpsSpawnRule
|
||||
- type: NukeopsRule
|
||||
|
|
|
|||
Loading…
Reference in New Issue