Add stats button to end game dialog
Also adds the statistics window to TD. There is no button for it in observer mode, though, but it is available from the end game dialog. Fixes #6312.
This commit is contained in:
@@ -38,16 +38,15 @@ Container@LEAVE_RESTART_WIDGET:
|
||||
Height: 65
|
||||
Text: Press 'Leave' to return to the main menu.
|
||||
Align: Center
|
||||
Button@RESTART_BUTTON:
|
||||
Button@STATS_BUTTON:
|
||||
X: 20
|
||||
Y: PARENT_BOTTOM - 45
|
||||
Width: 140
|
||||
Height: 25
|
||||
Font: Bold
|
||||
Text: Restart
|
||||
Visible: false
|
||||
Text: Statistics
|
||||
Button@LEAVE_BUTTON:
|
||||
X: (PARENT_RIGHT - WIDTH) / 2
|
||||
X: PARENT_RIGHT - WIDTH - 20
|
||||
Y: PARENT_BOTTOM - 45
|
||||
Width: 140
|
||||
Height: 25
|
||||
@@ -72,14 +71,13 @@ Container@LEAVE_RESTART_WIDGET:
|
||||
Font: Bold
|
||||
Align: Center
|
||||
Text: The game has ended
|
||||
Button@RESTART_BUTTON:
|
||||
Button@STATS_BUTTON:
|
||||
X: PARENT_RIGHT - 2 * (WIDTH + 20)
|
||||
Y: PARENT_BOTTOM - 45
|
||||
Width: 120
|
||||
Height: 25
|
||||
Font: Bold
|
||||
Text: Restart
|
||||
Visible: false
|
||||
Text: Statistics
|
||||
Button@LEAVE_BUTTON:
|
||||
X: PARENT_RIGHT - WIDTH - 20
|
||||
Y: PARENT_BOTTOM - 45
|
||||
|
||||
Reference in New Issue
Block a user