X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=builtin%2Fcommon%2Fmisc_helpers.lua;h=542b2040d6579df334fe444489b3c0ebb41a566b;hb=21df26984da91143c15587f5a03c98d68c3adc4e;hp=e4bc056d9ff424f9b83d9a439bbc5438200cf5dd;hpb=b09fc5de5cdb021f43ad32b7e3f50dc75c0bc622;p=dragonfireclient.git diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index e4bc056d9..542b2040d 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -543,7 +543,7 @@ if INIT == "mainmenu" then end end -if INIT == "client" or INIT == "mainmenu" then +if core.gettext then -- for client and mainmenu function fgettext_ne(text, ...) text = core.gettext(text) local arg = {n=select('#', ...), ...}