mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Runtimes bad. (#25081)
Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman@google.com>
This commit is contained in:
co-authored by
FunnyMan3595
parent
93a871dbc9
commit
e18747c581
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user