Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 27, 2010, 5:48:34 PM (14 years ago)
Author:
rgrieder
Message:

The lua "print" function was previously stored in "debug" —> changed that to "original_print".
Please use logMessage(level, message)
or its shortcut cout(level, message)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/scripts/GameplayMenu.lua

    r6621 r6623  
    1818function P.GameplayThemeCombobox_changed(e)
    1919    -- theme
    20     debug("event: theme")
     20    logMessage(0, "event: theme")
    2121end
    2222
    2323function P.GameplayDifficultyEasyButton_clicked(e)
    2424    -- difficulty easy
    25     debug("event: easy")
     25    logMessage(0, "event: easy")
    2626end
    2727
    2828function P.GameplayDifficultyNormalButton_clicked(e)
    2929    -- difficulty normal
    30     debug("event: normal")
     30    logMessage(0, "event: normal")
    3131end
    3232
    3333function P.GameplayDifficultyHardButton_clicked(e)
    3434    -- difficulty hard
    35     debug("event: hard")
     35    logMessage(0, "event: hard")
    3636end
    3737
Note: See TracChangeset for help on using the changeset viewer.