diff --git a/code/modules/smithing/machinery/kinetic_assembler.dm b/code/modules/smithing/machinery/kinetic_assembler.dm index eea5baeded6..9711104df68 100644 --- a/code/modules/smithing/machinery/kinetic_assembler.dm +++ b/code/modules/smithing/machinery/kinetic_assembler.dm @@ -88,6 +88,9 @@ return switch(removed) if("Primary") + if(!primary) + to_chat(user, "There is no primary component to remove.") + return to_chat(user, "You remove [primary] from the primary component slot of [src].") if(primary.burn_check(user)) primary.burn_user(user) @@ -98,6 +101,9 @@ primary = null return if("Secondary") + if(!secondary) + to_chat(user, "There is no secondary component to remove.") + return to_chat(user, "You remove [secondary] from the secondary component slot of [src].") if(secondary.burn_check(user)) secondary.burn_user(user) @@ -108,6 +114,9 @@ secondary = null return if("Trim") + if(!trim) + to_chat(user, "There is no trim component to remove.") + return to_chat(user, "You remove [trim] from the trim component slot of [src].") if(trim.burn_check(user)) trim.burn_user(user)