aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/GameSingleton.hpp
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-11-10 23:39:21 +0100
committer GitHub <noreply@github.com>2023-11-10 23:39:21 +0100
commit0008bd6bf3d00cc284199be668c0b03d9f2c5d77 (patch)
tree65ca78284e4ed1a2b07716018a721aaaf68d3830 /extension/src/openvic-extension/GameSingleton.hpp
parentf8da0860795d273452501fa4d7fbfcc40073a884 (diff)
parentcf591eddfa59839c2620ebf119727f069b965dfe (diff)
Merge pull request #163 from Spartan322/improve-binding
Diffstat (limited to 'extension/src/openvic-extension/GameSingleton.hpp')
-rw-r--r--extension/src/openvic-extension/GameSingleton.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/GameSingleton.hpp b/extension/src/openvic-extension/GameSingleton.hpp
index 1d92ef0..ec26c3c 100644
--- a/extension/src/openvic-extension/GameSingleton.hpp
+++ b/extension/src/openvic-extension/GameSingleton.hpp
@@ -11,7 +11,7 @@ namespace OpenVic {
class GameSingleton : public godot::Object {
GDCLASS(GameSingleton, godot::Object)
- static GameSingleton* singleton;
+ inline static GameSingleton* singleton = nullptr;
GameManager game_manager;
Dataloader dataloader;