Save console messages #263, change settings names

This commit is contained in:
Henrique Santiago
2013-02-14 15:30:45 -02:00
parent 5fc1ac8051
commit 07dd78002b
3 changed files with 20 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ end
function load(forceDefaults)
hotkeysManagerLoaded = false
local hotkeySettings = g_settings.getNode('hotkeys')
local hotkeySettings = g_settings.getNode('game_hotkeys')
local hotkeys = {}
if not table.empty(hotkeySettings) then hotkeys = hotkeySettings end
@@ -183,7 +183,7 @@ function reload()
end
function save()
local hotkeySettings = g_settings.getNode('hotkeys') or {}
local hotkeySettings = g_settings.getNode('game_hotkeys') or {}
local hotkeys = hotkeySettings
if perServer then