Fix danno proiettile lanciarazzi.
parent
a582a176dd
commit
a573da8087
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue