Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5482 for data/media


Ignore:
Timestamp:
May 1, 2009, 1:47:21 PM (16 years ago)
Author:
rgrieder
Message:

Fixed lua code to have compatibility with Lua 5.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/gui/scripts/loadGUI_2.lua

    r5459 r5482  
    4949        loadedGUIs[filename] = gui
    5050        -- if there has no GUI been loaded yet, set new GUI as current
    51         if #loadedGUIs == 1 then
     51        if table.getn(loadedGUIs) == 1 then
    5252            current = loadedGUIs[1]
    5353            showing = false
Note: See TracChangeset for help on using the changeset viewer.