Small fix in tictactoe sample

This commit is contained in:
soywiz
2020-12-02 23:24:56 +01:00
parent f4f658d9d0
commit 013d5d8896

View File

@@ -67,7 +67,7 @@ class InGameScene(
fun Container.setResultText(text: String) {
val gameResultView = stage["gameresult"]
val gameResultView = this["gameresult"]
(gameResultView.firstOrNull as? Text?)?.text = text
}