mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
Fix NextTurnButton lateinit crash (#6979)
This commit is contained in:
parent
a17797a709
commit
f1e3e1b094
@ -9,7 +9,8 @@ import com.unciv.ui.utils.*
|
|||||||
class NextTurnButton(
|
class NextTurnButton(
|
||||||
keyPressDispatcher: KeyPressDispatcher
|
keyPressDispatcher: KeyPressDispatcher
|
||||||
) : TextButton("", BaseScreen.skin) {
|
) : TextButton("", BaseScreen.skin) {
|
||||||
private lateinit var nextTurnAction: NextTurnAction
|
private var nextTurnAction = NextTurnAction("", Color.BLACK) {}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
label.setFontSize(30)
|
label.setFontSize(30)
|
||||||
labelCell.pad(10f)
|
labelCell.pad(10f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user