Long comments are now ILLEGAL

This commit is contained in:
TrialTemp 2024-01-06 02:10:11 -06:00
parent 5d5b05a7d9
commit eb412ec8e1

View File

@ -526,13 +526,16 @@ class CaptureTheFlagGame(bs.TeamGameActivity[Player, Team]):
return return
team = player.team team = player.team
# For each "point" our player has touched the flag (Could be multiple), # For each "point" our player has touched theflag (Could be multiple),
# deduct one from both our player and the flag's return touches variable. # deduct one from both our player and
# the flag's return touches variable.
for _ in range(player.touching_own_flag): for _ in range(player.touching_own_flag):
# Deduct # Deduct
player.touching_own_flag -= 1 player.touching_own_flag -= 1
team.flag_return_touches -= 1 team.flag_return_touches -= 1
# Update our flag's timer accordingly (Prevents immediate resets in case there might be more people touching it). # Update our flag's timer accordingly
# (Prevents immediate resets in case
# there might be more people touching it).
if team.flag_return_touches == 0: if team.flag_return_touches == 0:
team.touch_return_timer = None team.touch_return_timer = None
team.touch_return_timer_ticking = None team.touch_return_timer_ticking = None