charlesbaynham / wurwolves

2 stars 0 forks source link

People's pictures shouldn't disappear until the new game starts #49

Closed charlesbaynham closed 3 years ago

charlesbaynham commented 3 years ago

Will resolve using method from #44

charlesbaynham commented 3 years ago

Players now have active tag: I should be able to mess with kick and the voting for game restart so that all players remain as spectators (including inactive) but only active players can vote

charlesbaynham commented 3 years ago

Currently, kick marks you as inactive but this is only called during the lobby and game ended stages. If you're inactive, get_players() ignores you.

It would be better to make active mean "this player hasn't been seen for x seconds" but to only actually remove them from the game according to whatever logic is required. How about:

charlesbaynham commented 3 years ago

kick should be renamed to mark_inactive