[MIRROR] tele patch (#9209)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-10-12 06:06:39 -07:00
committed by GitHub
parent 220fce605d
commit c2b240adad
2 changed files with 8 additions and 1 deletions

View File

@@ -1187,7 +1187,7 @@
var/atom/movable/item = src.get_active_hand()
if(!item)
if(!item || istype(item, /obj/item/tk_grab))
return FALSE
var/throw_range = item.throw_range

View File

@@ -850,6 +850,13 @@ var/global/list/light_type_cache = list()
return
to_chat(user, "You telekinetically remove the light [get_fitting_name()].")
installed_light.status = status
installed_light.forceMove(src.loc)
var/obj/item/tk_grab/O = new(src)
user.put_in_active_hand(O)
O.host = user
O.focus_object(installed_light)
installed_light.update_icon()
remove_bulb()
// break the light and make sparks if was on