You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
This commit is contained in:
@@ -2487,7 +2487,7 @@ _Thread::~_Thread() {
|
||||
if (active) {
|
||||
ERR_EXPLAIN("Reference to a Thread object object was lost while the thread is still running...");
|
||||
}
|
||||
ERR_FAIL_COND(active == true);
|
||||
ERR_FAIL_COND(active);
|
||||
}
|
||||
/////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user