/proc/main() var/obj/test/fart = new() /obj/test New() src.color = "#FFFFFF" var/list/RGB = rgb2num(src.color)
This will crash with a "bad color" runtime, because setting color to "#FFFFFF" will silently replace it with null instead.
ID:2899851
Nov 17 2023, 3:05 pm
|
|||||||
Redundant
| |||||||
This is mostly because of a rather silly issue:
/proc/main() var/obj/test/fart = new() /obj/test New() src.color = "#FFFFFF" var/list/RGB = rgb2num(src.color) This will crash with a "bad color" runtime, because setting color to "#FFFFFF" will silently replace it with null instead. |