Skip to content

Commit b83822a

Browse files
author
Wil T
committed
use new colormanager
1 parent 08d8544 commit b83822a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

common/scripts/hidden_record_isidentified.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ function onClose()
2121
end
2222

2323
function colorUnidentified(bID)
24-
local color = ColorManager.COLOR_FULL
25-
if not bID and Session.IsHost then color = ColorManager.COLOR_HEALTH_CRIT_WOUNDS end
24+
local color = ColorManager.getUIColor("usage_full")
25+
if not bID and Session.IsHost then color = ColorManager.getUIColor("health_wounds_critical") end
2626
window.nonid_name.setColor(color)
2727
end
2828

extension.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<root version="3.1">
44
<properties>
55
<name>Feature: Inventory Identified</name>
6-
<version>1.8</version>
6+
<version>1.9</version>
77
<author>bmos</author>
88
<description>Turns player inventory item names red for host/GM if unidentified.</description>
99
</properties>
1010

11-
<announcement text="Inventory Identified v1.8\nBy Bmos.\rTurns inventory item names red for host/GM if unidentified." font="emotefont"/>
11+
<announcement text="Inventory Identified v1.9\nBy Bmos.\rTurns inventory item names red for host/GM if unidentified." font="emotefont"/>
1212

1313
<base>
1414
<!-- Templates -->

0 commit comments

Comments
 (0)