mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-28 08:30:31 +07:00
da2d3450b8
* Fixed `provides [amount] [resource]` not accepting conditionals This was due to it still using `getLocalMatchingUniques` without providing a `StateForConditionals`, and then manually filtering them if they didn't provide conditionals. This of course doesn't work anymore, as `getLocalMatchingUniques` then assumes that all conditionals aren't satisfied. Also refactored a loop over `uniqueObjects` with `isOfType()` to just use `getMatchingUniques()`. * Only initialize StateForConditionals once * Actually this is more moddable |
||
---|---|---|
.. | ||
src/com/unciv | ||
build.gradle.kts |