Page 1 of 1

[Genhis][2.0.10] PVP - force protection not applied on logout

Posted: Thu Oct 24, 2024 1:10 am
by kbios
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

Code: Select all

check_force_protection(force)
should be

Code: Select all

check_force_protection(player.force)

Re: [Genhis][2.0.10] PVP - force protection not applied on logout

Posted: Fri Oct 25, 2024 9:03 am
by Genhis
Thanks for the report, the issue was exactly as you said. It is fixed for the next release but the change does not apply to old games.