Wired Reset Timers Effect should also reset Wired Trigger Periodically and Wired Trigger Periodically Long

This commit is contained in:
skeletor 2020-01-21 15:18:30 -05:00 committed by Harmonic
parent 018be4c3c8
commit 4a3e59557d

View File

@ -419,7 +419,8 @@ public class WiredHandler {
return;
THashSet<InteractionWiredTrigger> triggers = room.getRoomSpecialTypes().getTriggers(WiredTriggerType.AT_GIVEN_TIME);
triggers.addAll(room.getRoomSpecialTypes().getTriggers(WiredTriggerType.PERIODICALLY));
triggers.addAll(room.getRoomSpecialTypes().getTriggers(WiredTriggerType.PERIODICALLY_LONG));
if (triggers != null) {
for (InteractionWiredTrigger trigger : triggers) {
((WiredTriggerReset) trigger).resetTimer();