Deathrattle implant for uplink and slight tracking implant tweak (#17722)

This commit is contained in:
Arendian
2023-07-16 04:59:46 +02:00
committed by GitHub
parent 1096ecc4b2
commit 84bd21b4a7
11 changed files with 147 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ public sealed partial class TriggerSystem
private void OnMobStateChanged(EntityUid uid, TriggerOnMobstateChangeComponent component, MobStateChangedEvent args)
{
if (component.MobState != args.NewMobState)
if (!component.MobState.Contains(args.NewMobState))
return;
//This chains Mobstate Changed triggers with OnUseTimerTrigger if they have it