Skip to content

Commit

Permalink
Fix tint_index not being defined
Browse files Browse the repository at this point in the history
  • Loading branch information
kirazy committed Aug 15, 2020
1 parent 6be90e8 commit 99426be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---------------------------------------------------------------------------------------------------
Version: 0.0.16
Date: 2020.08.XX
Date: 2020.08.15
Features:
- Added function `rescale_minimachine_technology`
Changes:
- `icon_size` and `icon_mipmaps` are now set to `nil` when `icons` is defined, and they are defined per-entry within `icons`
Bugfixes:
- Fixed that `tint_index` could not be defined under some edge cases
---------------------------------------------------------------------------------------------------
Version: 0.0.15
Date: 2020.08.11
Expand Down
4 changes: 2 additions & 2 deletions prototypes/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ if settings.startup["reskins-lib-customize-tier-colors"].value == true then
["tier-5"] = util.color(settings.startup["reskins-lib-custom-colors-tier-5"].value),
["tier-6"] = util.color(settings.startup["reskins-lib-custom-colors-tier-6"].value),
}
elseif mods["boblibrary"] then
reskins.lib.tint_index = reskins.lib.tint_defaults.bobs
elseif reskins.lib.setting("reskins-angels-use-angels-tier-colors") then
reskins.lib.tint_index = reskins.lib.tint_defaults.angels
else
reskins.lib.tint_index = reskins.lib.tint_defaults.bobs
end

reskins.lib.particle_index = {
Expand Down

0 comments on commit 99426be

Please sign in to comment.