aboutsummaryrefslogtreecommitdiff
path: root/game/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/main.cpp')
-rw-r--r--game/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/main.cpp b/game/main.cpp
index b9bebfb..bd5ca93 100644
--- a/game/main.cpp
+++ b/game/main.cpp
@@ -1,6 +1,7 @@
#include <crepe/api/Engine.h>
#include <crepe/api/Script.h>
+#include "Config.h"
#include "GameScene.h"
#include "menus/mainmenu/MainMenuScene.h"
#include "menus/shop/ShopMenuScene.h"
@@ -9,6 +10,8 @@
using namespace crepe;
int main() {
+ Config::get_instance() = ENGINE_CONFIG;
+
Engine gameloop;
gameloop.add_scene<MainMenuScene>();
gameloop.add_scene<ShopMenuScene>();