Merge branch 'master' into jgrpp
# Conflicts: # bin/ai/CMakeLists.txt # bin/game/CMakeLists.txt # src/saveload/saveload.h
This commit is contained in:
@@ -73,6 +73,9 @@
|
||||
{
|
||||
if (Game::instance != nullptr) return;
|
||||
|
||||
/* Don't start GameScripts in intro */
|
||||
if (_game_mode == GM_MENU) return;
|
||||
|
||||
/* Clients shouldn't start GameScripts */
|
||||
if (_networking && !_network_server) return;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
static bool CheckAPIVersion(const char *api_version)
|
||||
{
|
||||
static const std::set<std::string> versions = { "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11", "12", "13" };
|
||||
static const std::set<std::string> versions = { "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11", "12", "13", "14" };
|
||||
return versions.find(api_version) != versions.end();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user