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