mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed typo in Plugin Manager, fixed problems when you have multiple dependent events and you remove one
This commit is contained in:
@@ -260,7 +260,7 @@ module PluginManager
|
||||
dep_version = dep[2]
|
||||
optional = false
|
||||
exact = false
|
||||
case def_arg
|
||||
case dep_arg
|
||||
when :optional
|
||||
optional = true
|
||||
when :exact
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user