share/hedgewars/Data/Scripts/Locale.lua
changeset 13728 ade61b4eb63f
parent 13093 2b5314cc356c
child 13731 247d1bcf3c5e
--- a/share/hedgewars/Data/Scripts/Locale.lua	Fri Aug 31 19:19:39 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Locale.lua	Fri Aug 31 20:35:13 2018 +0200
@@ -1,6 +1,8 @@
 -- Library for localizing strings in lua scripts
 
-local lang = HedgewarsScriptLoad("Locale/" .. tostring(LOCALE) .. ".lua")
+if LOCALE ~= "en" then
+    HedgewarsScriptLoad("Locale/" .. tostring(LOCALE) .. ".lua")
+end
 
 function loc(text)
     if locale ~= nil and locale[text] ~= nil then return locale[text]