level_state: don't get damaged when hitting another plane.. though you'll die anyway.
This commit is contained in:
parent
e4fe8fd5b0
commit
7ff61ac171
1 changed files with 1 additions and 4 deletions
|
@ -177,10 +177,7 @@ function begin_contact(a, b, coll)
|
|||
end
|
||||
|
||||
if other and other:isinstance(Plane) then
|
||||
plane:receiveDamage(1000)
|
||||
other:receiveDamage(1000)
|
||||
plane:getOwner():addScore(SUICIDE_SCORE)
|
||||
other:getOwner():addScore(SUICIDE_SCORE)
|
||||
-- nothing
|
||||
elseif plane then
|
||||
if other:getOwner() == nil then
|
||||
-- Collision with ground or other plane
|
||||
|
|
Loading…
Reference in a new issue