Fix Luacheck failure
PLATFORM is set by ScriptApiBase::ScriptApiBase, so should actually be safe everywhere
This commit is contained in:
parent
30951070a0
commit
2dcb58c996
@ -10,6 +10,7 @@ ignore = {
|
|||||||
read_globals = {
|
read_globals = {
|
||||||
"ItemStack",
|
"ItemStack",
|
||||||
"INIT",
|
"INIT",
|
||||||
|
"PLATFORM",
|
||||||
"DIR_DELIM",
|
"DIR_DELIM",
|
||||||
"dump", "dump2",
|
"dump", "dump2",
|
||||||
"fgettext", "fgettext_ne",
|
"fgettext", "fgettext_ne",
|
||||||
@ -75,10 +76,6 @@ files["builtin/mainmenu"] = {
|
|||||||
globals = {
|
globals = {
|
||||||
"gamedata",
|
"gamedata",
|
||||||
},
|
},
|
||||||
|
|
||||||
read_globals = {
|
|
||||||
"PLATFORM",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
files["builtin/common/tests"] = {
|
files["builtin/common/tests"] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user