diff --git a/code/modules/power/smes_construction.dm b/code/modules/power/smes_construction.dm index 686ec9f4d10..ac3c49f3f75 100644 --- a/code/modules/power/smes_construction.dm +++ b/code/modules/power/smes_construction.dm @@ -498,7 +498,7 @@ else if(istype(attacking_item, /obj/item/smes_coil)) if (cur_coils < max_coils) - if(!(attacking_item in compatible_coils)) + if(!(attacking_item.type in compatible_coils)) // hi to_chat(usr, "This coil isn't compatible with this SMES unit.") return diff --git a/html/changelogs/kermit-smes-coil-bug.yml b/html/changelogs/kermit-smes-coil-bug.yml new file mode 100644 index 00000000000..b313392d18d --- /dev/null +++ b/html/changelogs/kermit-smes-coil-bug.yml @@ -0,0 +1,6 @@ +author: kermit + +delete-after: True + +changes: + - bugfix: "fixes smes coils not being insertable into smes units (oops, my bad)"