mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Increased cached_icon_states usage and tweaks to unit testing (#18246)
* initial * Fix cosmetic test change
This commit is contained in:
@@ -139,7 +139,7 @@ SUBSYSTEM_DEF(robot_sprites)
|
||||
RS.icon_x = text2num(splitted[1])
|
||||
RS.icon_y = text2num(splitted[2])
|
||||
RS.vis_height = text2num(splitted[2])
|
||||
var/list/icon_states = icon_states(RS.sprite_icon)
|
||||
var/list/icon_states = cached_icon_states(RS.sprite_icon)
|
||||
for(var/icon in icon_states)
|
||||
// testing whitelist functionality ckey-...
|
||||
if(findtext(icon, regex("ckey-")))
|
||||
|
||||
Reference in New Issue
Block a user