mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-30 17:34:57 +07:00
405655d51d
* Allow filter uniques to have conditionals * Move cache to inside the multifilter * Move Civ caching to nation * Might as well remove a use of let * Forgot to remove check * Might as well edit these for consistency * Avoid checking unit filters twice where necessary * Probably the wrong way to fix this, Idk where I should put the fix instead * Remove extra parenthesis * Don't multiFilter if we know it won't do anything * Apparently, issues for initialized tiles can exist for cities too * Lower cpu cost for changes - use consistent StateForConditionals, set once when loading map and again every time there is an ownership change * Resolves #12483 - add gameInfo to tile state so game-wide conditionals will work --------- Co-authored-by: yairm210 <yairm210@hotmail.com> |
||
---|---|---|
.. | ||
json | ||
logic | ||
models | ||
ui | ||
utils | ||
Constants.kt | ||
GUI.kt | ||
UncivGame.kt |