dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.42k stars 206 forks source link

Prevent `EditorInterface` breaking Builds #2133

Closed CakeVR closed 2 months ago

CakeVR commented 2 months ago

This identifier caused builds to breaks, as it does not exist at runtime outside the Godot editor.

Fixes: #2131

Thanks to @lyuma for finding a workaround handling the EditorInterface.

Jowan-Spooner commented 2 months ago

God damnit godot. I hate it when they give you nice features and then are like "well don't use them if you want your game to actually work". Thanks for the fix. Looks good to me.