mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Merge branch 'patch-timer-reset' into 'dev'
Wired Reset Timers Effect should also reset Wired Trigger Periodically and Wired Trigger Periodically Long See merge request morningstar/Arcturus-Community!72
This commit is contained in:
commit
b35e27ea8e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user