#3193 closed enhancement (fixed)
[PATCH] Allow resigning only once per turn
Reported by: | elexis | Owned by: | sanderd17 |
---|---|---|---|
Priority: | If Time Permits | Milestone: | Alpha 19 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
You can send multiple resign messages per turn. If the game is laggy it becomes apparent sometimes. Reproduce by hosting with 2 instances of 0ad. Pause with the first one, resign multiple times with the other one, then unpause. You will see the player was defeated multiple times. (You cant reproduce with 1 instance alone because the resign button unpauses the game).
In order to fix the problem, set a variable to true if the resign button was pressed once and then disable the button afterwards (or prevent any further messages to be sent then).
Attachments (1)
Change History (4)
comment:1 by , 9 years ago
Keywords: | patch review added |
---|---|
Milestone: | Backlog → Alpha 19 |
Summary: | Allow resigning only once per turn → [PATCH] Allow resigning only once per turn |
by , 9 years ago
Attachment: | t3193_resign_only_once.patch added |
---|
comment:2 by , 9 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 9 years ago
Keywords: | patch review removed |
---|
Note:
See TracTickets
for help on using tickets.
In 16582: