diff --git a/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt b/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt index 3bbf714da1..c3b80615f4 100644 --- a/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt +++ b/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt @@ -18,7 +18,7 @@ class NotificationsScroll(internal val worldScreen: WorldScreen) : ScrollPane(nu internal fun update(notifications: MutableList) { notificationsTable.clearChildren() - for (notification in notifications) { + for (notification in notifications.toList()) { // tolist to avoid concurrecy problems val label = Label(notification.text.tr(), CameraStageBaseScreen.skin).setFontColor(Color.BLACK) .setFontSize(14) val minitable = Table()