mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-03 03:31:28 +03: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