From 6e45c7c1f4c40fc724e0727342d23417c4cabfa0 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Sun, 12 Jan 2025 10:52:58 +0100 Subject: Bug fix: Audio --- game/preview/PrevPlayerScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/preview/PrevPlayerScript.cpp') diff --git a/game/preview/PrevPlayerScript.cpp b/game/preview/PrevPlayerScript.cpp index c63c1c8..f5a770a 100644 --- a/game/preview/PrevPlayerScript.cpp +++ b/game/preview/PrevPlayerScript.cpp @@ -66,7 +66,7 @@ bool PrevPlayerScript::key_pressed(const KeyPressEvent & ev) { this->head->data.position_offset -= 10; break; case Keycode::P: - this->get_component().play(); + this->get_component().active = true; break; case Keycode::J: this->get_components_by_name("camera").front().get().position.x -- cgit v1.2.3