Fix Luacheck failure

PLATFORM is set by ScriptApiBase::ScriptApiBase, so should actually be safe everywhere
This commit is contained in:
grorp 2025-01-01 21:10:14 +01:00
parent 30951070a0
commit 2dcb58c996

View File

@ -10,6 +10,7 @@ ignore = {
read_globals = {
"ItemStack",
"INIT",
"PLATFORM",
"DIR_DELIM",
"dump", "dump2",
"fgettext", "fgettext_ne",
@ -75,10 +76,6 @@ files["builtin/mainmenu"] = {
globals = {
"gamedata",
},
read_globals = {
"PLATFORM",
},
}
files["builtin/common/tests"] = {