From bc66e7195c80facca244f933b882011e5e81fa3c Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Tue, 7 Jan 2025 13:20:50 +0100 Subject: coins use events --- game/player/PlayerSubScene.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/player/PlayerSubScene.cpp') diff --git a/game/player/PlayerSubScene.cpp b/game/player/PlayerSubScene.cpp index c1e5e2f..fff9287 100644 --- a/game/player/PlayerSubScene.cpp +++ b/game/player/PlayerSubScene.cpp @@ -3,6 +3,7 @@ #include "PlayerScript.h" #include "../Config.h" +#include "../coins/CoinScript.h" #include #include @@ -150,4 +151,5 @@ PlayerSubScene::PlayerSubScene(Scene & scn) { }); player.add_component().set_script().active = false; player.add_component().set_script().active = false; + player.add_component().set_script(); } -- cgit v1.2.3