mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix turn counter, so that turn 0 is turn 1
This commit is contained in:
parent
18bcc1bce7
commit
650ee9666d
@ -32,4 +32,4 @@ class QTurnCounter(QGroupBox):
|
|||||||
"""
|
"""
|
||||||
self.daytime_icon.setPixmap(self.icons[turn % 4])
|
self.daytime_icon.setPixmap(self.icons[turn % 4])
|
||||||
self.turn_info.setText(current_day.strftime("%d %b %Y"))
|
self.turn_info.setText(current_day.strftime("%d %b %Y"))
|
||||||
self.setTitle("Turn " + str(turn))
|
self.setTitle("Turn " + str(turn + 1))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user