mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
Fixed one minor exception
This commit is contained in:
parent
3029979a59
commit
3b50b6ee9d
@ -290,6 +290,8 @@ class CaptureTheFlagGame(ba.TeamGameActivity):
|
|||||||
if (not team.gamedata['home_flag_at_base']
|
if (not team.gamedata['home_flag_at_base']
|
||||||
and flag.held_count == 0):
|
and flag.held_count == 0):
|
||||||
time_out_counting_down = True
|
time_out_counting_down = True
|
||||||
|
if flag.time_out_respawn_time is None:
|
||||||
|
flag.reset_return_times()
|
||||||
flag.time_out_respawn_time -= 1
|
flag.time_out_respawn_time -= 1
|
||||||
if flag.time_out_respawn_time <= 0:
|
if flag.time_out_respawn_time <= 0:
|
||||||
flag.handlemessage(ba.DieMessage())
|
flag.handlemessage(ba.DieMessage())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user