From 770935616b614842a76288d1a03d760310c53864 Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Sat, 30 Mar 2019 07:22:00 +0100 Subject: [PATCH] fixed if --- main/bullet.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/bullet.script b/main/bullet.script index c5f8022..985ad06 100644 --- a/main/bullet.script +++ b/main/bullet.script @@ -23,7 +23,7 @@ end function on_message(self, message_id, message, sender) print "start on_message function for bullets" print(self.id) - if message_id == COLLISION_RESPONSE and hash("collision_response") == message_id then + if message_id == COLLISION_RESPONSE then print 'collision detected!' for i,id in ipairs(current_pods) do print ("delete " .. id )