You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace many uses of is_class with derives_from.
This commit is contained in:
@@ -164,7 +164,7 @@ void MultiplayerEditorPlugin::edit(Object *p_object) {
|
||||
}
|
||||
|
||||
bool MultiplayerEditorPlugin::handles(Object *p_object) const {
|
||||
return p_object->is_class("MultiplayerSynchronizer");
|
||||
return p_object->derives_from<MultiplayerSynchronizer>();
|
||||
}
|
||||
|
||||
void MultiplayerEditorPlugin::make_visible(bool p_visible) {
|
||||
|
||||
Reference in New Issue
Block a user