okay so this is necessary

This commit is contained in:
SandPoot
2024-01-05 22:09:21 -03:00
parent 00b30e0672
commit 6d7321b0c4
4 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -85,6 +85,6 @@
description = "Immediately examine anything you're hovering your mouse over."
/datum/keybinding/mob/examine_immediate/down(client/user)
var/atom/A = WEAKREF(user.mouse_object_ref)
var/atom/A = user.mouse_object_ref?.resolve()
if(A)
A.attempt_examinate(user.mob)
@@ -241,7 +241,7 @@
// before doing anything, check if the user moused over them properly
if(!client)
return BLOCK_NONE
var/found = attacker == WEAKREF(client.mouse_object_ref)
var/found = attacker == client.mouse_object_ref?.resolve()
if(!found)
for(var/i in client.moused_over_objects)
if(i == object)