After killing all nuclear operatives, shuttle will be called instead of instant round end (#19850)
* ☢️🕵️💀🚫📄🚀 * 🚀📢❌📥📜 * 🔧🐛📢🚹🚉➡👑👑 * 😪 * 🧱 * 🚀🛬🕔➡️🕙 * ☢️⚙️🔵🔚🔨➡️🔵🔚⚙️ these commit names are literally evil who tf does this
This commit is contained in:
@@ -5,6 +5,7 @@ using Content.Server.GameTicking;
|
||||
using Content.Server.GameTicking.Rules;
|
||||
using Content.Server.GameTicking.Rules.Components;
|
||||
using Content.Server.StationEvents.Components;
|
||||
using Content.Server.RoundEnd;
|
||||
|
||||
namespace Content.Server.StationEvents.Events;
|
||||
|
||||
@@ -37,7 +38,7 @@ public sealed class LoneOpsSpawnRule : StationEventSystem<LoneOpsSpawnRuleCompon
|
||||
component.AdditionalRule = nukeopsEntity;
|
||||
var nukeopsComp = EntityManager.GetComponent<NukeopsRuleComponent>(nukeopsEntity);
|
||||
nukeopsComp.SpawnOutpost = false;
|
||||
nukeopsComp.EndsRound = false;
|
||||
nukeopsComp.RoundEndBehavior = RoundEndBehavior.Nothing;
|
||||
_gameTicker.StartGameRule(nukeopsEntity);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user