Skip to content

Commit

Permalink
Фикс подключения телепада (#3013)
Browse files Browse the repository at this point in the history
Co-authored-by: Builder13 <[email protected]>
  • Loading branch information
Builder-13 and Builder13 authored Dec 19, 2024
1 parent 47f6bf3 commit dff946f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mods/machinery/code/telesci_by_TT/tele_pads.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
return panel_open

/obj/machinery/telepad/use_tool(obj/item/tool, mob/living/user, list/click_params)
if(component_attackby(tool, user)) return TRUE
//if(component_attackby(tool, user)) return TRUE
if(panel_open)
if(istype(tool, /obj/item/device/multitool))
var/obj/item/device/multitool/M = tool
Expand All @@ -42,7 +42,8 @@
if(istype(tool, /obj/item/device/multitool))
to_chat(user, "<span class='caution'>You should open [src]'s maintenance panel first.</span>")
return
.=..()
//.=..()
return ..()

/obj/machinery/telepad/on_update_icon()
switch (panel_open)
Expand Down

0 comments on commit dff946f

Please sign in to comment.