mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-14 01:37:36 +07:00
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