you need to check that the inventory length is not 1, because if it is 1 it means that the player has one last weapon and the player is not allowed to end without weapons
1 Like
Thank you.
You just renewed me once again.