Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6549


Ignore:
Timestamp:
Mar 18, 2010, 12:30:08 PM (15 years ago)
Author:
dafrick
Message:

Fixed Keybind GUI bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/KeyBindMenu.lua

    r6427 r6549  
    227227    local buttonNr = arguments[2]
    228228    if buttonNr ~= nil then
    229         orxonox.KeyBinderManager:getInstance():unbind(orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[commandNr], buttonNr))
     229        local str = orxonox.KeyBinderManager:getInstance():getCurrent():getBinding(commandList[commandNr], buttonNr)
     230        orxonox.KeyBinderManager:getInstance():unbind(str)
    230231    end
    231232
Note: See TracChangeset for help on using the changeset viewer.