From 2a31c13bc6447548c2a3e499d9078639a094e88c Mon Sep 17 00:00:00 2001 From: yairm210 Date: Thu, 5 Sep 2024 21:24:32 +0300 Subject: [PATCH] Fix test - correct target type for event choice --- core/src/com/unciv/models/ruleset/Event.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/models/ruleset/Event.kt b/core/src/com/unciv/models/ruleset/Event.kt index 19930b72ba..5fd08d0328 100644 --- a/core/src/com/unciv/models/ruleset/Event.kt +++ b/core/src/com/unciv/models/ruleset/Event.kt @@ -35,7 +35,7 @@ class Event : RulesetObject() { class EventChoice : ICivilopediaText, RulesetObject() { var text = "" - override fun getUniqueTarget() = UniqueTarget.Event + override fun getUniqueTarget() = UniqueTarget.EventChoice override fun makeLink() = "" /** Keyboard support - not user-rebindable, mod control only. Will be [parsed][KeyCharAndCode.parse], so Gdx key names will work. */