Refactored MouseDrop_T (#18549)

* sdafas

* sdaf
This commit is contained in:
Fluffy
2024-02-29 21:58:23 +00:00
committed by GitHub
parent c29a42a865
commit 9fc52575dd
30 changed files with 148 additions and 85 deletions
+5 -1
View File
@@ -34,7 +34,11 @@
user.visible_message(SPAN_NOTICE("[user] detaches \the [source_hoist.hoistee] from the hoist clamp."), SPAN_NOTICE("You detach \the [source_hoist.hoistee] from the hoist clamp."), SPAN_NOTICE("You hear something unclamp."))
source_hoist.release_hoistee()
/obj/effect/hoist_hook/MouseDrop_T(atom/movable/AM,mob/user)
/obj/effect/hoist_hook/MouseDrop_T(atom/dropping, mob/user)
var/atom/movable/AM = dropping
if(!istype(AM))
return
if (use_check_and_message(user, USE_DISALLOW_SILICONS))
return