We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c035f0 commit c962c8dCopy full SHA for c962c8d
src/plugins/core/scripting/database.cpp
@@ -11,6 +11,7 @@
11
std::string FetchPluginName(lua_State* state);
12
#define FetchPluginByState(state) g_pluginManager->FetchPlugin(FetchPluginName(state))
13
14
+extern std::string currentMap;
15
struct DatabaseQueryQueue
16
{
17
std::string query;
@@ -83,7 +84,7 @@ void DatabaseQueryThread()
83
84
}
85
};
86
- if (g_playerManager->GetPlayers() > 0) g_Plugin.NextFrame(ExecuteCallback);
87
+ if (currentMap != "None") g_Plugin.NextFrame(ExecuteCallback);
88
else ExecuteCallback();
89
90
0 commit comments