okay so this is necessary
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user