Fix danno proiettile lanciarazzi.

master
_Zaizen_ 2020-08-30 14:06:09 +02:00
parent a582a176dd
commit a573da8087
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ function quake.register_bullet(name, def)
if moveresult.collisions[1].object:is_player() then
if moveresult.collisions[1].object:get_player_name() ~= self.p_name then
quake.shoot(self.p_name, moveresult.collisions.object, self.initial_properties.damage, false)
quake.shoot(self.p_name, moveresult.collisions[1].object, self.initial_properties.damage, false)
self:_destroy()
return