gemidyne / microtf2

A custom gamemode for Team Fortress 2 - Players compete against each other to get the most points by playing a series of rapid fire microgames in order to win the round!
https://www.gemidyne.com/projects/microtf2
GNU General Public License v2.0
30 stars 16 forks source link

Players always win in Count the prop #220

Closed whysodrooled closed 2 years ago

whysodrooled commented 2 years ago

Describe the bug When the count the prop is played, it always ends up with everybody being winners. I initially thought it was the death timing was not right, but even if I die earlier than other players, I still won.

Expected behavior Only the survivors remaining last should win.

Do you know what version of the gamemode this bug occurred on?

Additional info On line 285 of Bossgame8.sp, it seems like player.IsAlive isn't functioning well in this case for whatever reason. I replaced player.IsAlive to player.Status == PlayerStatus_NotWon and it worked well.

safalin1 commented 2 years ago

Thanks for the report. I agree this should be referring to status instead. I'll get master updated and release a hotfix update.