diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 16:31:58 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 16:31:58 +0100 |
commit | abbfe5d06697b93de485dcfe975812befc018a00 (patch) | |
tree | 8b6b5c5d327e5eb3fb5855846f52d155c7364e2f /game/player/PlayerSubScene.cpp | |
parent | a764ef0f1f6b7c5d18155163d63db1a6dd47093a (diff) |
Moved EndGameScript to Player
Diffstat (limited to 'game/player/PlayerSubScene.cpp')
-rw-r--r-- | game/player/PlayerSubScene.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/player/PlayerSubScene.cpp b/game/player/PlayerSubScene.cpp index 812d99a..91ae882 100644 --- a/game/player/PlayerSubScene.cpp +++ b/game/player/PlayerSubScene.cpp @@ -1,4 +1,5 @@ #include "PlayerSubScene.h" +#include "PlayerEndScript.h" #include "PlayerScript.h" #include "../Config.h" @@ -148,4 +149,5 @@ PlayerSubScene::PlayerSubScene(Scene & scn) { .collision_layer = COLL_LAY_PLAYER, }); player.add_component<BehaviorScript>().set_script<PlayerScript>().active = false; + player.add_component<BehaviorScript>().set_script<PlayerEndScript>().active = false; } |