From 4cfb04aa7f1d91586c749185003aa526a04f1dcd Mon Sep 17 00:00:00 2001 From: Koncord Date: Sat, 20 Jan 2018 20:06:05 +0800 Subject: [PATCH] [Server] Fix setBedRestAllowed --- apps/openmw-mp/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Settings.cpp b/apps/openmw-mp/Settings.cpp index 0718d5d63..1ae3483e0 100644 --- a/apps/openmw-mp/Settings.cpp +++ b/apps/openmw-mp/Settings.cpp @@ -15,7 +15,7 @@ void GameSettings::Init(LuaState &lua) lua.getState()->new_usertype("Settings", "setDifficulty", &GameSettings::setDifficulty, "setConsoleAllowed", &GameSettings::setConsoleAllowed, - "setBedRestAllowed", &GameSettings::setConsoleAllowed, + "setBedRestAllowed", &GameSettings::setBedRestAllowed, "setWildernessRestAllowed", &GameSettings::setWildernessRestAllowed, "setWaitAllowed", &GameSettings::setWaitAllowed );