Skip to content

Commit

Permalink
fix VM abort with Corruption Cards
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaulwurff committed Aug 10, 2022
1 parent 7be8652 commit 3310054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zscript/aas_token.zs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class aas_token : Inventory
override
bool TryPickup(Actor toucher)
{
_handler.on_event(_event_type);
if (_handler != NULL) _handler.on_event(_event_type);
GoAwayAndDie();
return true;
}
Expand Down

0 comments on commit 3310054

Please sign in to comment.