Removed quote requirement for events

This commit is contained in:
Anuken
2020-05-04 18:05:47 -04:00
parent a4bd1dcc6d
commit 4161698bb8
5 changed files with 72 additions and 18 deletions

View File

@ -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"