Currently, a number of beers despawn when a player leaves. This can lead to perceived buggy behavior when a player is about to pick up a beer that has spawned. A slightly improved logic might be to have the beer spawn logic be to either add or remove beers based on the number of current players.
Every second a new beer would be added if you are below the total beer count (based on number of players). When a player leaves, the beers would despawn one at a time instead until the beer cap is reached.
Currently, a number of beers despawn when a player leaves. This can lead to perceived buggy behavior when a player is about to pick up a beer that has spawned. A slightly improved logic might be to have the beer spawn logic be to either add or remove beers based on the number of current players.
Every second a new beer would be added if you are below the total beer count (based on number of players). When a player leaves, the beers would despawn one at a time instead until the beer cap is reached.