From 23677be951b4dc2b9cc174ceb92f0e0b8e8eb867 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 25 Jun 2019 21:18:08 +0200 Subject: Load CSM environment after the restrictions are known Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors --- src/client/client.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/client/client.h') diff --git a/src/client/client.h b/src/client/client.h index 85456fe4d..6dad48c3d 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -397,7 +397,6 @@ public: } ClientScripting *getScript() { return m_script; } - const bool moddingEnabled() const { return m_modding_enabled; } const bool modsLoaded() const { return m_mods_loaded; } void pushToEventQueue(ClientEvent *event); -- cgit v1.2.3