mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-27 23:28:10 +01:00
Merge pull request #8247 from Cerebulon/throwmode
Throw Mode QoL Tweaks
This commit is contained in:
@@ -84,12 +84,10 @@
|
||||
RestrainedClickOn(A)
|
||||
return 1
|
||||
|
||||
if(in_throw_mode)
|
||||
if(isturf(A) || isturf(A.loc))
|
||||
throw_item(A)
|
||||
trigger_aiming(TARGET_CAN_CLICK)
|
||||
return 1
|
||||
if(in_throw_mode && (isturf(A) || isturf(A.loc)) && throw_item(A))
|
||||
trigger_aiming(TARGET_CAN_CLICK)
|
||||
throw_mode_off()
|
||||
return TRUE
|
||||
|
||||
var/obj/item/W = get_active_hand()
|
||||
|
||||
@@ -270,7 +268,7 @@
|
||||
if(T && user.TurfAdjacent(T))
|
||||
user.ToggleTurfTab(T)
|
||||
return 1
|
||||
|
||||
|
||||
/mob/proc/ToggleTurfTab(var/turf/T)
|
||||
if(listed_turf == T)
|
||||
listed_turf = null
|
||||
|
||||
Reference in New Issue
Block a user