From cfcbaa001b4f9f8097a854cacdf78ac4042dfb67 Mon Sep 17 00:00:00 2001
From: Timothy Teakettle <59849408+timothyteakettle@users.noreply.github.com>
Date: Mon, 10 May 2021 14:31:36 +0100
Subject: [PATCH] fixes
---
code/modules/client/preferences.dm | 2 +-
code/modules/surgery/bodyparts/_bodyparts.dm | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm
index fd2235234b..6a463d53bb 100644
--- a/code/modules/client/preferences.dm
+++ b/code/modules/client/preferences.dm
@@ -528,7 +528,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "
"
var/list/markings = features[marking_type]
if(!islist(markings))
- # something went terribly wrong
+ // something went terribly wrong
markings = []
var/list/reverse_markings = reverseList(markings)
for(var/list/marking_list in reverse_markings)
diff --git a/code/modules/surgery/bodyparts/_bodyparts.dm b/code/modules/surgery/bodyparts/_bodyparts.dm
index 50d8cdaed5..8c7a99f8b1 100644
--- a/code/modules/surgery/bodyparts/_bodyparts.dm
+++ b/code/modules/surgery/bodyparts/_bodyparts.dm
@@ -848,7 +848,7 @@
auxmarking += image('modular_citadel/icons/mob/markings_notmammals.dmi', "husk_[I]", -aux_layer, image_dir)
else
for(var/marking_list in body_markings_list)
- auxmarking += image(body_markings_list[1], "[body_markings_list[2]]_[I]", -aux_layer, image_dir)
+ auxmarking += image(marking_list[1], "[marking_list[2]]_[I]", -aux_layer, image_dir)
. += aux
. += auxmarking
@@ -868,7 +868,7 @@
auxmarking += image('modular_citadel/icons/mob/markings_notmammals.dmi', "husk_[I]", -aux_layer, image_dir)
else
for(var/marking_list in body_markings_list)
- auxmarking += image(body_markings_list[1], "[body_markings_list[2]]_[I]", -aux_layer, image_dir)
+ auxmarking += image(marking_list[1], "[marking_list[2]]_[I]", -aux_layer, image_dir)
. += auxmarking
. += aux