hedgewars/uGearsRender.pas
changeset 14603 62dea281e4d5
parent 14584 42f3d6860971
child 14660 bf37a416ad8f
--- a/hedgewars/uGearsRender.pas	Tue Jan 15 21:28:54 2019 +0100
+++ b/hedgewars/uGearsRender.pas	Wed Jan 16 00:01:29 2019 +0100
@@ -695,7 +695,7 @@
                                 0);
                         // sprCensored contains English text, so only show it for English locales
                         // TODO: Make text translatable. But how?
-                        if Copy(cLocale, 1, 2) = 'en' then
+                        if Copy(cLanguage, 1, 2) = 'en' then
                             DrawSprite(sprCensored, ox - 32, oy - 20, 0);
                         end;
                     defaultPos:= false