mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
Seems to fix it (#22680)
This commit is contained in:
@@ -807,13 +807,13 @@
|
||||
return
|
||||
is_active = TRUE
|
||||
ranged_ability_user.playsound_local(ranged_ability_user, "sparks", 50, FALSE, use_reverb = FALSE)
|
||||
attached_action.adjust_uses(-1)
|
||||
var/datum/action/innate/ai/ranged/repair_cyborg/actual_action = attached_action
|
||||
actual_action.adjust_uses(-1)
|
||||
robot_target.audible_message("<span class='italics'>You hear a loud electrical buzzing sound coming from [robot_target]!</span>")
|
||||
if(!do_mob(caller, robot_target, 10 SECONDS))
|
||||
is_active = FALSE
|
||||
return
|
||||
is_active = FALSE
|
||||
var/datum/action/innate/ai/ranged/repair_cyborg/actual_action = attached_action
|
||||
actual_action.fix_borg(robot_target)
|
||||
remove_ranged_ability(ranged_ability_user, "<span class='warning'>[robot_target] successfully rebooted.</span>")
|
||||
return TRUE
|
||||
|
||||
@@ -249,6 +249,8 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/robot/proc/update_module_icon()
|
||||
if(!hands)
|
||||
return
|
||||
if(!module)
|
||||
hands.icon_state = "nomod"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user