mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Wired Reset Timers Effect should also reset Wired Trigger Periodically and Wired Trigger Periodically Long
This commit is contained in:
parent
018be4c3c8
commit
4a3e59557d
@ -419,7 +419,8 @@ public class WiredHandler {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
THashSet<InteractionWiredTrigger> triggers = room.getRoomSpecialTypes().getTriggers(WiredTriggerType.AT_GIVEN_TIME);
|
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) {
|
if (triggers != null) {
|
||||||
for (InteractionWiredTrigger trigger : triggers) {
|
for (InteractionWiredTrigger trigger : triggers) {
|
||||||
((WiredTriggerReset) trigger).resetTimer();
|
((WiredTriggerReset) trigger).resetTimer();
|
||||||
|
Loading…
Reference in New Issue
Block a user