mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-02 21:45:49 +08:00
Added comment for changes
This commit is contained in:
parent
406fc2770d
commit
3044099832
@ -1011,6 +1011,10 @@ class Bomb(ba.Actor):
|
||||
# impact-bombs by all impacts.
|
||||
if not ispunched and (not self._exploded
|
||||
or self.bomb_type in ['impact', 'land_mine']):
|
||||
# We don't want to give the credit and points to player,
|
||||
# who punched the bomb of other player in a chain reaction.
|
||||
# And this will protect the bomb from getting hit_type 'punch'.
|
||||
|
||||
# Also lets change the owner of the bomb to whoever is setting
|
||||
# us off. (this way points for big chain reactions go to the
|
||||
# person causing them).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user