mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
disable all scripting code when configuring without scripting modules
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
|
||||
#include "ScriptHandler.h"
|
||||
|
||||
#if SCRIPTING_ENABLED
|
||||
#include <vcmi/Services.h>
|
||||
#include <vcmi/Environment.h>
|
||||
|
||||
@ -311,3 +312,4 @@ void ScriptHandler::saveState(JsonNode & state)
|
||||
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user