Removed quote requirement for events
This commit is contained in:
@@ -3,7 +3,7 @@ const log = function(context, obj){
|
||||
}
|
||||
|
||||
const onEvent = function(event, handler){
|
||||
Vars.mods.getScripts().onEvent(EventType[event], handler)
|
||||
Vars.mods.getScripts().onEvent(event, handler)
|
||||
}
|
||||
|
||||
var scriptName = "base.js"
|
||||
|
||||
Reference in New Issue
Block a user