Do not try to award bounty if player died while trying (e.g. when colliding with an asteroid).
This commit is contained in:
parent
98eeb0401b
commit
42fc5deeb3
@ -6588,6 +6588,8 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
|
||||
- (void) collectBountyFor:(ShipEntity *)other
|
||||
{
|
||||
if ([self status] == STATUS_DEAD) return; // no bounty if we died while trying
|
||||
|
||||
if (other == nil || [other isSubEntity]) return;
|
||||
|
||||
if (other == [UNIVERSE station])
|
||||
|
Loading…
x
Reference in New Issue
Block a user