Skip to content

Commit

Permalink
Fix script error related to dropship and player server leave (#914)
Browse files Browse the repository at this point in the history
Dropship crash fix on player immediate disconnect
  • Loading branch information
Bobbyperson authored Feb 1, 2025
1 parent 92fc8e7 commit 007cb92
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ void function AddPlayerToEvacDropship( entity dropship, entity player )

// need to cancel if the dropship dies
dropship.EndSignal( "OnDeath", "OnDestroy" )
player.EndSignal( "OnDestroy" )

player.SetInvulnerable()
player.UnforceCrouch()
Expand Down

0 comments on commit 007cb92

Please sign in to comment.