Skip to content

Commit 0bb88de

Browse files
committed
You can't code without making mistakes
for some reason it wouldn't work without this.
1 parent ac13af8 commit 0bb88de

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • modular_meta/features/more_clothes/code/resprite_clothes_module

modular_meta/features/more_clothes/code/resprite_clothes_module/proc.dm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
/obj/item
22
var/uses_advanced_reskins = FALSE
33

4+
//It could cause some issues with an any jumpsuit of sort, due to accessories being a thing in-game.
45
/obj/item/clothing/click_alt_secondary(mob/user)
56
. = ..()
67
clothing_reskin()
78

8-
/obj/item/clothing/proc/clothing_reskin(mob/M)
9+
/obj/item/clothing/proc/clothing_reskin()
10+
set name = "Reskin Clothes"
11+
set category = "Object"
12+
set src in usr
13+
var/mob/M = usr
914

1015
if(!uses_advanced_reskins)
1116
to_chat(M, "[src] has no reskins available.")

0 commit comments

Comments
 (0)