IPCs can be colorblind (#29187)

This commit is contained in:
BiancaWilkson
2025-05-13 22:29:49 +00:00
committed by GitHub
parent 2e0d3dbf29
commit f27cf89f8e
4 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
if(istype(worn_glasses) && worn_glasses.color_view) //Check to see if they got those magic glasses and they're augmenting the colour of what the wearer sees. If they're not, color_view should be null.
return worn_glasses.color_view
else if(eyes) //If they're not, check to see if their eyes got one of them there colour matrices. Will be null if eyes are robotic/the mob isn't colourblind and they have no default colour matrix.
return eyes.get_colourmatrix()
return eyes.get_colormatrix()
/**
* Flash up a color as an overlay on a player's screen, then fade back to normal.