mirror of
https://github.com/jlengrand/korge-samples.git
synced 2026-03-10 08:31:18 +00:00
Small fix in tictactoe sample
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user