mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +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
|
||||
Setting::Handle<bool> whitelistEnabled {"private/whitelistEnabled", false };
|
||||
bool isWhitelistEnabled = whitelistEnabled.get();
|
||||
|
||||
if (!isWhitelistEnabled) {
|
||||
qCDebug(scriptengine) << "Whitelist Enabled: " << isWhitelistEnabled;
|
||||
if (!whitelistEnabled.get()) {
|
||||
passList = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue