mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Mop do_after multi use
(#18485) * Mop do_after Makes mop do after allow multiple uses * Update mop.dm * fixes * Gets rid of these unused vars * cleanup --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
f7f1f23be5
commit
0a2d3a8cf6
@@ -101,10 +101,10 @@
|
||||
return 1 //end the search!
|
||||
return 0
|
||||
|
||||
/obj/item/assembly/mousetrap/hitby(var/atom/movable/A)
|
||||
/obj/item/assembly/mousetrap/hitby(var/atom/movable/source)
|
||||
if(!armed)
|
||||
return ..()
|
||||
visible_message(span_warning("[src] is triggered by [A]."))
|
||||
visible_message(span_warning("[src] is triggered by [source]."))
|
||||
triggered(null)
|
||||
|
||||
/obj/item/assembly/mousetrap/armed
|
||||
|
||||
Reference in New Issue
Block a user