mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 21:18:06 +02:00
Fixed bug
This commit is contained in:
parent
aa0c225809
commit
d6cf4db930
1 changed files with 3 additions and 3 deletions
|
@ -2371,10 +2371,10 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co
|
|||
|
||||
// ENTITY SCRIPT WHITELIST TOGGLE CHECK
|
||||
Setting::Handle<bool> whitelistEnabled{"private/whitelistEnabled", false };
|
||||
bool whitelistEnabled = whitelistEnabled.get();
|
||||
bool isWhitelistEnabled = whitelistEnabled.get();
|
||||
|
||||
if (!whitelistEnabled) {
|
||||
qCDebug(scriptengine) << "Whitelist Enabled: " << whitelistEnabled;
|
||||
if (!isWhitelistEnabled) {
|
||||
qCDebug(scriptengine) << "Whitelist Enabled: " << isWhitelistEnabled;
|
||||
passList = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue