aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/player/PlayerScript.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/game/player/PlayerScript.cpp b/game/player/PlayerScript.cpp
index d32da0b..57819c0 100644
--- a/game/player/PlayerScript.cpp
+++ b/game/player/PlayerScript.cpp
@@ -94,11 +94,6 @@ void PlayerScript::fixed_update(crepe::duration_t dt) {
}
Rigidbody & rb = this->get_components_by_name<Rigidbody>("player").front();
- if (this->get_key_state(Keycode::P)) {
- this->trigger_event<BattleStartEvent>(BattleStartEvent {
- .num_enemies = 5,
- });
- }
if (this->get_key_state(Keycode::ENTER)) {
auto now = std::chrono::steady_clock::now();