mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
NamedEvents can now be overwritten, fixed error in validating all types, replaced wiki shortcut
This commit is contained in:
@@ -70,7 +70,7 @@ class NamedEvent
|
||||
|
||||
# Adds an event handler procedure from the event.
|
||||
def add(key, proc)
|
||||
@callbacks[key] = proc if !@callbacks.has_key?(key)
|
||||
@callbacks[key] = proc
|
||||
end
|
||||
|
||||
# Removes an event handler procedure from the event.
|
||||
|
||||
Reference in New Issue
Block a user