mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Add ErrorMode to GameScriptSettings (C++) and errorMode to settings (Lua). Call SetErrorMode in LoadGameFlowScript.
This commit is contained in:
parent
032f824870
commit
7d26686836
3 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "savegame.h"
|
||||
#include "draw.h"
|
||||
#include "AudioTracks.h"
|
||||
#include "ScriptAssert.h"
|
||||
#include <Objects/objectslist.h>
|
||||
#include <Game/newinv2.h>
|
||||
|
||||
|
@ -125,6 +126,8 @@ void GameFlow::LoadGameFlowScript()
|
|||
ExecuteScript("Scripts/Gameflow.lua");
|
||||
ExecuteScript("Scripts/Strings.lua");
|
||||
ExecuteScript("Scripts/Settings.lua");
|
||||
|
||||
SetErrorMode(GetSettings()->ErrorMode);
|
||||
}
|
||||
|
||||
char const * GameFlow::GetString(const char* id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue