Багфиксы и всякое (#47)
* - tweak: Tweak CPR speed.
* - fix: Cult action fix.
* Revert "Put entity resetting behind command flag (#24436)"
This reverts commit 5267d3c601.
* - fix: Mindshield fixes.
* - tweak: Give security security glasses.
* - fix: Fix warning.
* - fix: Fix ling TTS.
* - fix: Fix gun cycle.
* - fix: Mark cultist and lings as antags.
* - fix: Fix borg name.
* - fix: Fix carrying throw.
* - fix: Fix gun bolt with no mag.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using Content.Server.Actions;
|
||||
using Content.Server.Chat.Managers;
|
||||
using Content.Server.GameTicking;
|
||||
using Content.Server.GameTicking.Rules;
|
||||
@@ -41,6 +42,7 @@ public sealed class CultRuleSystem : GameRuleSystem<CultRuleComponent>
|
||||
[Dependency] private readonly SharedRoleSystem _roleSystem = default!;
|
||||
[Dependency] private readonly JobSystem _jobSystem = default!;
|
||||
[Dependency] private readonly SharedMindSystem _mindSystem = default!;
|
||||
[Dependency] private readonly ActionsSystem _actions = default!;
|
||||
|
||||
private ISawmill _sawmill = default!;
|
||||
|
||||
@@ -171,6 +173,11 @@ public sealed class CultRuleSystem : GameRuleSystem<CultRuleComponent>
|
||||
|
||||
cultistsRule.CurrentCultists.Remove(component);
|
||||
|
||||
foreach (var empower in component.SelectedEmpowers)
|
||||
{
|
||||
_actions.RemoveAction(uid, empower);
|
||||
}
|
||||
|
||||
RemoveCultistAppearance(uid);
|
||||
CheckRoundShouldEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user