scripted_sentence: Use targets when triggered (fixes city2a in Gunman)

This commit is contained in:
Marco Cawthorne 2023-10-04 07:55:18 -07:00
parent aadc23356d
commit 11797717ef
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -164,4 +164,5 @@ scripted_sentence::Trigger(entity act, triggermode_t unused)
msg_entity = npc;
multicast(npc.origin, MULTICAST_PVS);
npc.m_flNextSentence = time + m_flDuration;
UseTargets(act, TRIG_TOGGLE, m_flDelay);
}