diff --git a/modular_citadel/code/game/objects/items/robot/robot_upgrades.dm b/modular_citadel/code/game/objects/items/robot/robot_upgrades.dm index 19e8b061..f3fdd837 100644 --- a/modular_citadel/code/game/objects/items/robot/robot_upgrades.dm +++ b/modular_citadel/code/game/objects/items/robot/robot_upgrades.dm @@ -12,9 +12,14 @@ /obj/effect/proc_holder/silicon/cyborg/vtecControl/Click(mob/living/silicon/robot/user = usr) if(!user) return + if(!user.cell) + return + + if(user.cell.charge <= 0) + to_chat(user, "You cannot cycle through your VTEC upgrade without power!") + return currentState = (currentState + 1) % 3 - switch(currentState) if (0) user.remove_movespeed_modifier(MOVESPEED_ID_SILICON_VTEC)