EXPWorlds / Godot-Dialog-System

A Dialog System Addon for the Godot Engine.
MIT License
124 stars 8 forks source link

Godot 4 incompatibility #8

Open RDaneelOlivav opened 1 year ago

RDaneelOlivav commented 1 year ago

Porting the game to Godot 4 game the erro in the file plugin.gd that states:

Too many arguments for "add_too_menu_item()" call. Expected at most 2 but got three.

This is in line 19. Any ideas on how this could be fixed?

RDaneelOlivav commented 1 year ago

I changed it to this:

self.add_tool_menu_item("EXP StoryFile Editor",_on_StoryFile_Editor_opened)

Not yet sure if this will work, at least doesnt give error in the syntax. Let me know if this is teh correct solution or it will explode somewhere elese along the pipeline