Runtimes bad. (#25081)

Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman@google.com>
This commit is contained in:
Charlie Nolan
2024-04-11 05:51:35 +00:00
committed by GitHub
co-authored by FunnyMan3595
parent 93a871dbc9
commit e18747c581
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -79,6 +79,8 @@
return TRUE
if(!istype(neighbor))
return ..()
if(isnull(loc))
return FALSE
if(HAS_TRAIT(loc, TRAIT_ADJACENCY_TRANSPARENT))
// Transparent parent, don't decrease recurse.
return loc.Adjacent(neighbor, recurse)
+3
View File
@@ -48,6 +48,9 @@
* mob/RangedAttack(atom,params) - used only ranged, only used for tk and laser eyes but could be changed
*/
/mob/proc/ClickOn(atom/A, params)
if(QDELETED(A))
return
if(client.click_intercept)
client.click_intercept.InterceptClickOn(src, params, A)
return