aboutsummaryrefslogtreecommitdiff
path: root/game/workers/CollisionScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/workers/CollisionScript.cpp')
-rw-r--r--game/workers/CollisionScript.cpp2
1 files changed, 1 insertions, 1 deletions
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);