started backporting

This commit is contained in:
2024-02-27 13:23:16 +01:00
parent 0bf43164f2
commit 79c6ea8a9e
3 changed files with 2 additions and 4 deletions

2
.gitmodules vendored
View File

@@ -1,4 +1,4 @@
[submodule "src/lib/godot-cpp"]
path = src/lib/godot-cpp
url = https://github.com/godotengine/godot-cpp
branch = 4.2
branch = 4.1

View File

@@ -8,7 +8,6 @@
#include <godot_cpp/classes/project_settings.hpp>
#include <godot_cpp/classes/engine.hpp>
#include <godot_cpp/classes/time.hpp>
#include <godot_cpp/classes/editor_interface.hpp>
using namespace godot;
@@ -28,7 +27,6 @@ public:
godot::Engine *engine = godot::Engine::get_singleton();
godot::ProjectSettings *project_settings = godot::ProjectSettings::get_singleton();
godot::Time *time = godot::Time::get_singleton();
godot::EditorInterface *editor_interface = godot::EditorInterface::get_singleton();
discord::Core *core{};
discord::Result result;