# HG changeset patch # User Wuzzy # Date 1461708846 -7200 # Node ID 571d06a86bb6fbad3f019964ba1359775ae2bf94 # Parent e9481c5a130b9a479b86ffe35b588e64a7fbbd68 fix for issue 71: Lua API: “Theme” variable is set to empty string initially diff -r e9481c5a130b -r 571d06a86bb6 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');