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

This subforum contains all the issues which we already resolved.
kbios
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue Jan 23, 2018 9:48 pm
Contact:

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

Post 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)
Genhis
Factorio Staff
Factorio Staff
Posts: 694
Joined: Wed Dec 24, 2014 8:19 am
Contact:

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

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”