diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm
index eaefdbc7b0d..451d5a2f6b3 100644
--- a/code/game/objects/items/robot/robot_parts.dm
+++ b/code/game/objects/items/robot/robot_parts.dm
@@ -246,7 +246,7 @@
ticker.mode.remove_antag_for_borging(BM.mind)
BM.mind.transfer_to(O)
- if(clockwork)
+ if(M.clockwork)
O.emagged = 1
O.visible_message("[M]'s eyes glow a blazing yellow!", \
"As you serve Ratvar, your onboard camera is not active and your safeties are disabled.")