mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 04:12:03 +00:00
fix(multiplayer): recover requeued tickets
This commit is contained in:
@@ -217,6 +217,10 @@ func can_cancel() -> bool:
|
||||
return phase == QUEUED or phase == PROPOSED or phase == ALLOCATING
|
||||
|
||||
|
||||
func has_open_proposal() -> bool:
|
||||
return not proposal_id.is_empty() and proposal_state == "OPEN"
|
||||
|
||||
|
||||
func waited_seconds(now_unix: int) -> int:
|
||||
if enqueued_at_unix <= 0:
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user