diff --git a/Aquaria/DSQ.cpp b/Aquaria/DSQ.cpp index ed75431..4beec2e 100644 --- a/Aquaria/DSQ.cpp +++ b/Aquaria/DSQ.cpp @@ -910,8 +910,6 @@ This build is not yet final, and as such there are a couple things lacking. They initGraphicsLibrary(user.video.resx, user.video.resy, fullscreen, user.video.vsync, user.video.bits); debugLog("OK"); - setInputGrab(0); - debugLog("Init Sound Library..."); initSoundLibrary(user.audio.deviceName); debugLog("Set Voice Fader"); diff --git a/Aquaria/UserSettings.cpp b/Aquaria/UserSettings.cpp index 78ec7cf..c834be2 100644 --- a/Aquaria/UserSettings.cpp +++ b/Aquaria/UserSettings.cpp @@ -397,7 +397,7 @@ void UserSettings::load(bool doApply, const std::string &overrideFile) XMLElement *xml_grabInp = xml_system->FirstChildElement("GrabInput"); if (xml_grabInp) { - system.allowDangerousScriptFunctions = xml_grabInp->IntAttribute("on"); + system.grabInput = xml_grabInp->IntAttribute("on"); } }