var deprecated, use let or const

This commit is contained in:
Skat 2020-10-21 16:05:36 +03:00 committed by GitHub
parent 0878becb33
commit aba001f499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);