mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 02:42:16 -04:00
Update UniqueTriggerActivation.kt
This commit is contained in:
parent
132195ad1a
commit
fbda079b34
@ -146,6 +146,7 @@ object UniqueTriggerActivation {
|
||||
}
|
||||
|
||||
UniqueType.PlaySound -> {
|
||||
if (civInfo.isAIOrAutoPlaying()) return null
|
||||
val soundName = unique.params[0]
|
||||
if (soundName.isEmpty()) return null
|
||||
var sound = UncivSound(soundName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user