History

Fixed bug

Kasen IO committed 6 years ago

Commit d6cf4db1 parent aa0c2251 file · +3 −3Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.cpp+3−3
@@ -2371,10 +2371,10 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 2370 unmodified lines
23712371
23722372 // ENTITY SCRIPT WHITELIST TOGGLE CHECK
23732373 Setting::Handle<bool> whitelistEnabled{"private/whitelistEnabled", false };
2374− bool whitelistEnabled = whitelistEnabled.get();
2374+ bool isWhitelistEnabled = whitelistEnabled.get();
23752375
2376− if (!whitelistEnabled) {
2377− qCDebug(scriptengine) << "Whitelist Enabled: " << whitelistEnabled;
2376+ if (!isWhitelistEnabled) {
2377+ qCDebug(scriptengine) << "Whitelist Enabled: " << isWhitelistEnabled;
23782378 passList = true;
23792379 }
23802380