From 17ad43222823ee6c305d789206afa441c5df77e3 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 7 Jun 2023 09:58:32 +0300 Subject: [PATCH] Resolved #9531 - only display first 5 missing mods --- core/src/com/unciv/logic/GameInfo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/GameInfo.kt b/core/src/com/unciv/logic/GameInfo.kt index 4757864d5e..433dedac9e 100644 --- a/core/src/com/unciv/logic/GameInfo.kt +++ b/core/src/com/unciv/logic/GameInfo.kt @@ -546,7 +546,7 @@ class GameInfo : IsPartOfGameInfoSerialization, HasGameInfoSerializationVersion // Player's fault, so better complain early: val missingMods = (gameParameters.mods + gameParameters.baseRuleset) .filterNot { it in ruleset.mods } - .joinToString(limit = 120) { it } + .joinToString(limit = 5) { it } if (missingMods.isNotEmpty()) { throw MissingModsException(missingMods) }