mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Update point.dm (#20324)
This commit is contained in:
@@ -104,15 +104,13 @@
|
||||
if(istype(A, /obj/effect/temp_visual/point) || istype(A, /atom/movable/emissive_blocker))
|
||||
return FALSE
|
||||
|
||||
changeNext_move(CLICK_CD_POINT)
|
||||
|
||||
DEFAULT_QUEUE_OR_CALL_VERB(VERB_CALLBACK(src, PROC_REF(run_pointed), A))
|
||||
|
||||
/// possibly delayed verb that finishes the pointing process starting in [/mob/verb/pointed()].
|
||||
/// either called immediately or in the tick after pointed() was called, as per the [DEFAULT_QUEUE_OR_CALL_VERB()] macro
|
||||
/mob/proc/run_pointed(atom/A)
|
||||
if(client && !(A in view(client.view, src)))
|
||||
return FALSE
|
||||
|
||||
changeNext_move(CLICK_CD_POINT)
|
||||
if(A.loc in src) // Object is inside a container on the mob. It's not part of the verb's list since it's not in view and requires middle clicking.
|
||||
point_at(A)
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user