Merge pull request #9432 from FlattestGuitar/ipc-fix

IPC screen color changing on the fly or whatever
This commit is contained in:
Crazy Lemon
2018-08-28 13:54:32 -07:00
committed by GitHub
@@ -128,8 +128,13 @@
hair += i
var/new_style = input(H, "Select a monitor display", "Monitor Display", head_organ.h_style) as null|anything in hair
var/new_color = input("Please select hair color.", "Monitor Color", head_organ.hair_colour) as null|color
if(H.incapacitated())
to_chat(src, "<span class='warning'>You were interrupted while changing your monitor display.</span>")
return
if(new_style)
H.change_hair(new_style)
H.change_hair(new_style)
if(new_color)
H.change_hair_color(new_color)