This commit is contained in:
Eugenio Marzo
2019-03-30 07:22:00 +01:00
parent 0da4622e37
commit 770935616b
+1 -1
View File
@@ -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 )