Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2371,10 +2371,10 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 2370 unmodified lines | ||
| 2371 | 2371 | |
| 2372 | 2372 | // ENTITY SCRIPT WHITELIST TOGGLE CHECK |
| 2373 | 2373 | Setting::Handle<bool> whitelistEnabled{"private/whitelistEnabled", false }; |
| 2374 | − bool whitelistEnabled = whitelistEnabled.get(); | |
| 2374 | + bool isWhitelistEnabled = whitelistEnabled.get(); | |
| 2375 | 2375 | |
| 2376 | − if (!whitelistEnabled) { | |
| 2377 | − qCDebug(scriptengine) << "Whitelist Enabled: " << whitelistEnabled; | |
| 2376 | + if (!isWhitelistEnabled) { | |
| 2377 | + qCDebug(scriptengine) << "Whitelist Enabled: " << isWhitelistEnabled; | |
| 2378 | 2378 | passList = true; |
| 2379 | 2379 | } |
| 2380 | 2380 | |