mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 22:28:44 +01:00
[MIRROR] moves law outputs to a block (#11706)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
9efbeb86af
commit
19006d64ac
@@ -84,8 +84,10 @@
|
||||
if(!istype(M) || material.name != M.material.name)
|
||||
return 0
|
||||
var/transfer = ..(S,tamount,1)
|
||||
if(src) update_strings()
|
||||
if(M) M.update_strings()
|
||||
if(!QDELETED(src))
|
||||
update_strings()
|
||||
if(M)
|
||||
M.update_strings()
|
||||
return transfer
|
||||
|
||||
/obj/item/stack/material/attack_self(var/mob/user)
|
||||
|
||||
Reference in New Issue
Block a user