[Genhis][2.0.10] PVP - force protection not applied on logout
Posted: Thu Oct 24, 2024 1:10 am
In the PvP scenario, when the option to protect the starting area with no players connected is enabled, protection is not properly applied when the last player of a force logs out.
I believe this is due to an error at line 3897 of pvp.lua (inside on_player_left_game), where
should be
I believe this is due to an error at line 3897 of pvp.lua (inside on_player_left_game), where
Code: Select all
check_force_protection(force)
Code: Select all
check_force_protection(player.force)