mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-08-26 14:28:52 +01:00
Icon unit test fixes (#29530)
* Fish
* Revert "[MIRROR] Shrunk arrow from pointing at things. Command roles unaffected thanks to id trims (also new skillchip). (#29461)"
This reverts commit e6e2af8b4c.
* asset protection fix
This commit is contained in:
@@ -399,8 +399,6 @@ SUBSYSTEM_DEF(id_access)
|
||||
|
||||
id_card.clear_access()
|
||||
id_card.trim = trim
|
||||
id_card.big_pointer = trim.big_pointer
|
||||
id_card.pointer_color = trim.pointer_color
|
||||
|
||||
if(copy_access)
|
||||
id_card.access = trim.access.Copy()
|
||||
@@ -444,8 +442,6 @@ SUBSYSTEM_DEF(id_access)
|
||||
id_card.department_color_override = trim.department_color
|
||||
id_card.department_state_override = trim.department_state
|
||||
id_card.subdepartment_color_override = trim.subdepartment_color
|
||||
id_card.big_pointer = trim.big_pointer
|
||||
id_card.pointer_color = trim.pointer_color
|
||||
|
||||
if(!check_forged || !id_card.forged)
|
||||
id_card.assignment = trim.assignment
|
||||
@@ -466,8 +462,6 @@ SUBSYSTEM_DEF(id_access)
|
||||
id_card.department_color_override = null
|
||||
id_card.department_state_override = null
|
||||
id_card.subdepartment_color_override = null
|
||||
id_card.big_pointer = id_card.trim.big_pointer
|
||||
id_card.pointer_color = id_card.trim.pointer_color
|
||||
|
||||
/**
|
||||
* Adds the accesses associated with a trim to an ID card.
|
||||
|
||||
Reference in New Issue
Block a user