Fixed typo in Plugin Manager, fixed problems when you have multiple dependent events and you remove one

This commit is contained in:
Maruno17
2021-06-12 17:23:15 +01:00
parent c402b02861
commit 8dec89bb50
2 changed files with 5 additions and 5 deletions

View File

@@ -433,9 +433,9 @@ class DependentEvents
@realEvents[i]=nil
@lastUpdate+=1
end
events.compact!
@realEvents.compact!
end
events.compact!
@realEvents.compact!
end
def getEventByName(name)
@@ -463,9 +463,9 @@ class DependentEvents
@realEvents[i]=nil
@lastUpdate+=1
end
events.compact!
@realEvents.compact!
end
events.compact!
@realEvents.compact!
end
def addEvent(event,eventName=nil,commonEvent=nil)