From 0de6692dcb029540f4502c5a2f1a0c6634f7b61f Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 8 Jan 2025 14:50:04 +0100 Subject: start of extra features and restored player functions --- game/workers/CollisionScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/workers/CollisionScript.cpp') diff --git a/game/workers/CollisionScript.cpp b/game/workers/CollisionScript.cpp index deaf0ee..625044d 100644 --- a/game/workers/CollisionScript.cpp +++ b/game/workers/CollisionScript.cpp @@ -49,7 +49,7 @@ bool CollisionScript::on_collision(const CollisionEvent & ev) { bs_panic.active = false; return false; - } else if (ev.info.other.metadata.tag == "missile") { + } else if (ev.info.other.metadata.tag == "missile" || ev.info.other.metadata.tag == "enemy_bullet") { for (Animator & anim : animators) { anim.active = false; anim.set_anim(3); -- cgit v1.2.3