mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 18:57:39 +07:00
var deprecated, use let or const
This commit is contained in:
parent
0878becb33
commit
aba001f499
@ -9,8 +9,8 @@ const readBytes = path => Vars.mods.getScripts().readBytes(path)
|
||||
const loadMusic = path => Vars.mods.getScripts().loadMusic(path)
|
||||
const loadSound = path => Vars.mods.getScripts().loadSound(path)
|
||||
|
||||
var scriptName = "base.js"
|
||||
var modName = "none"
|
||||
let scriptName = "base.js"
|
||||
let modName = "none"
|
||||
|
||||
const print = text => log(modName + "/" + scriptName, text);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user