mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add some missing renames to 3to4 tool.
MultiplayerPeerExtension isn't an exact replacement for NetworkedMultiplayerCustom, but at least it gets you moving in the right direction. Engine.editor_hint couldn't be fixed by the renames map, because you have to add a `()` at the end.
This commit is contained in:
parent
5f2137a050
commit
6b17c2b6e7
2 changed files with 7 additions and 0 deletions
|
|
@ -2268,6 +2268,10 @@ void ProjectConverter3To4::process_gdscript_line(String &line, const RegExContai
|
|||
if (line.contains("_unhandled_key_input(event: InputEventKey)")) {
|
||||
line = line.replace("_unhandled_key_input(event: InputEventKey)", "_unhandled_key_input(event: InputEvent)");
|
||||
}
|
||||
|
||||
if (line.contains("Engine.editor_hint")) {
|
||||
line = line.replace("Engine.editor_hint", "Engine.is_editor_hint()");
|
||||
}
|
||||
}
|
||||
|
||||
void ProjectConverter3To4::process_csharp_line(String &line, const RegExContainer ®_container) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue