Skip to content

Commit

Permalink
AINT NO WAY I DIDNT SAW THIS SUGGESTION FOR 5 DAYS
Browse files Browse the repository at this point in the history
Co-authored-by: harryob <[email protected]>
  • Loading branch information
xDanilcusx and harryob authored Nov 28, 2023
1 parent 180b51f commit 8205d73
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions code/modules/clothing/glasses/night.dm
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,13 @@

remove_marker(human_user, target, blip_pool[target])

/obj/item/clothing/glasses/night/m56_goggles/proc/remove_marker(mob/user, atom/target, obj/effect/target_mark/TM)
if(user.client)
user.client.remove_from_screen(TM)
blip_pool -= target
qdel(TM)
/obj/item/clothing/glasses/night/m56_goggles/proc/remove_marker(mob/user, atom/target, obj/effect/target_mark/mark)
if(!user.client)
return

user.client.remove_from_screen(mark)
blip_pool -= target
qdel(mark)

/datum/action/item_action/m56_goggles/target_highlighting/New()
. = ..()
Expand Down

0 comments on commit 8205d73

Please sign in to comment.