You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +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:
@@ -864,7 +864,7 @@ void OSUWP::run() {
|
||||
CoreWindow::GetForCurrentThread()->Dispatcher->ProcessEvents(CoreProcessEventsOption::ProcessAllIfPresent);
|
||||
if (managed_object->alert_close_handle) continue;
|
||||
process_events(); // get rid of pending events
|
||||
if (Main::iteration() == true)
|
||||
if (Main::iteration())
|
||||
break;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user