mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-09 23:21:02 +01:00
Hair gradients fix and Beltbuster use fixed
Hair gradients are now instanced as "None", the default no gradients value, rather than 000 which caused runtime newly instanced character to cause runtime errors. Fixed the path for the Beltbuster Mead drink's on_mob_life function
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
// GS13: Hair gradients from Skyrat
|
||||
var/grad_color = "FFFFFF"
|
||||
var/grad_style = "000"
|
||||
var/grad_style = "None"
|
||||
|
||||
//Facial hair colour and style
|
||||
var/facial_hair_color = "000"
|
||||
|
||||
@@ -468,8 +468,8 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
||||
hair_overlay.color = "#" + H.hair_color
|
||||
|
||||
// GS13: Hair gradients from Skyrat
|
||||
grad_style = H.grad_style
|
||||
grad_color = H.grad_color
|
||||
var/grad_style = H.grad_style
|
||||
var/grad_color = H.grad_color
|
||||
if(grad_style)
|
||||
var/datum/sprite_accessory/gradient = GLOB.hair_gradients_list[grad_style]
|
||||
var/icon/temp = icon(gradient.icon, gradient.icon_state)
|
||||
|
||||
Reference in New Issue
Block a user