You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Update if == NOTIFICATION_* to switch statements to match coding style
This commit is contained in:
@@ -177,8 +177,10 @@ void DebuggerEditorPlugin::_menu_option(int p_option) {
|
||||
}
|
||||
|
||||
void DebuggerEditorPlugin::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
_update_debug_options();
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_READY: {
|
||||
_update_debug_options();
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user