[Orxonox-commit 4580] r9251 - code/trunk/data/gui/scripts

landauf at orxonox.net landauf at orxonox.net
Sun May 27 23:28:34 CEST 2012


Author: landauf
Date: 2012-05-27 23:28:34 +0200 (Sun, 27 May 2012)
New Revision: 9251

Modified:
   code/trunk/data/gui/scripts/SingleplayerMenu.lua
Log:
fixed crash when clicking the single player menu button

Modified: code/trunk/data/gui/scripts/SingleplayerMenu.lua
===================================================================
--- code/trunk/data/gui/scripts/SingleplayerMenu.lua	2012-05-27 20:17:17 UTC (rev 9250)
+++ code/trunk/data/gui/scripts/SingleplayerMenu.lua	2012-05-27 21:28:34 UTC (rev 9251)
@@ -133,7 +133,7 @@
         end
     else
         -- also take care of "no level selected"
-        levelImage:setProperty("Image", nil)
+        levelImage:setProperty("Image", "")
         levelDescription:setText("")
         configButton:setProperty("Disabled", "True")
     end




More information about the Orxonox-commit mailing list