Changeset 9050 for code/trunk/data
- Timestamp:
- Mar 21, 2012, 9:31:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/SingleplayerMenu.lua
r9049 r9050 51 51 local imageName = level:getScreenshot() 52 52 if imageName ~= "" then 53 if guiMgr:usingOldCEGUI() then 54 CEGUI.ImagesetManager:getSingleton():createImagesetFromImageFile(levelXMLFilename..imageName, imageName) 55 else 56 CEGUI.ImagesetManager:getSingleton():createFromImageFile(levelXMLFilename..imageName, imageName) 57 end 53 CEGUI.ImagesetManager:getSingleton():createFromImageFile(levelXMLFilename..imageName, imageName) 58 54 else 59 if guiMgr:usingOldCEGUI() then 60 CEGUI.ImagesetManager:getSingleton():createImagesetFromImageFile(levelXMLFilename..imageName, "noscreenshot.png") 61 else 62 CEGUI.ImagesetManager:getSingleton():createFromImageFile(levelXMLFilename..imageName, "noscreenshot.png") 63 end 55 CEGUI.ImagesetManager:getSingleton():createFromImageFile(levelXMLFilename..imageName, "noscreenshot.png") 64 56 end 65 57 table.insert(P.levelList, level)
Note: See TracChangeset
for help on using the changeset viewer.