fix for issue 71: Lua API: “Theme” variable is set to empty string initially
authorWuzzy <almikes@aol.com>
Wed, 27 Apr 2016 00:14:06 +0200
changeset 11737 571d06a86bb6
parent 11736 e9481c5a130b
child 11738 90ea2156b809
fix for issue #71: Lua API: “Theme” variable is set to empty string initially
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Wed Apr 27 00:04:37 2016 +0200
+++ b/hedgewars/uScript.pas	Wed Apr 27 00:14:06 2016 +0200
@@ -2748,7 +2748,7 @@
 ScriptSetInteger('HealthDecrease', cHealthDecrease);
 ScriptSetInteger('GetAwayTime', cGetAwayTime);
 ScriptSetString('Map', cMapName);
-ScriptSetString('Theme', '');
+ScriptSetString('Theme', Theme);
 ScriptSetString('Goals', '');
 
 ScriptCall('onGameInit');