Skip to content

Commit

Permalink
Turn off menu on death
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Mar 24, 2024
1 parent 41d78ed commit c07f58e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2680,6 +2680,7 @@ StartPlayerKill(Player &player, DeathReason deathReason)

if (&player == MyPlayer) {
NetSendCmdParam1(true, CMD_PLRDEAD, static_cast<uint16_t>(deathReason));
gamemenu_off();
}

const bool dropGold = !gbIsMultiplayer || !(player.isOnLevel(16) || player.isOnArenaLevel());
Expand Down

0 comments on commit c07f58e

Please sign in to comment.