mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-23 04:52:38 -08:00
var deprecated, use let or const
This commit is contained in:
parent
0878becb33
commit
aba001f499
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue