mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
yeet gandalf broke my shitcode + a runtime fix (#8837)
This commit is contained in:
@@ -535,7 +535,7 @@
|
||||
screenmob.client.screen += H.r_store
|
||||
|
||||
//SKYRAT EDIT ADDITION BEGIN - ERP_SLOT_SYSTEM
|
||||
if(H.client.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
|
||||
if(H.client?.prefs?.read_preference(/datum/preference/toggle/erp/sex_toy))
|
||||
if(H.vagina)
|
||||
H.vagina.screen_loc = ui_vagina
|
||||
screenmob.client.screen += H.vagina
|
||||
|
||||
@@ -88,9 +88,11 @@
|
||||
if (part in mutant_bodyparts)
|
||||
mutant_bodyparts -= part
|
||||
else
|
||||
mutant_bodyparts[part] = list()
|
||||
var/datum/preference/choiced/name = GLOB.preference_entries_by_key["feature_[part]"]
|
||||
var/datum/preference/tri_color/color = GLOB.preference_entries_by_key["[part]_color"]
|
||||
if (isnull(name) || isnull(color))
|
||||
return
|
||||
mutant_bodyparts[part] = list()
|
||||
mutant_bodyparts[part][MUTANT_INDEX_NAME] = read_preference(name.type)
|
||||
mutant_bodyparts[part][MUTANT_INDEX_COLOR_LIST] = read_preference(color.type)
|
||||
if (istype(preference, /datum/preference/choiced))
|
||||
|
||||
Reference in New Issue
Block a user