Closed Jameskmonger closed 3 years ago
@jameshallam93 is taking this
The player's death state is stored in state.playerInfo.dead
- you can see in CardShop
already there is a check around the player's death state
The card shop hides itself if the player is dead, but the shop overlay doesn't - all of the overlay stuff in handled inside MobileGame
. You'll need to put Chrome into Responsive Mode (see the dev tools) to test this
Dead players should be unable to see the shop
They should also not be able to buy xp