diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index dd2a2b9dccc..ba60be32d76 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -727,14 +727,14 @@ proc/anim(turf/location as turf,target as mob|obj,a_icon,a_icon_state as text,fl return 0 var/delayfraction = round(delay/numticks) - var/turf/T = get_turf(user) + var/original_loc = user.loc var/holding = user.get_active_hand() for(var/i = 0, i\the [usr] successfully broke out of \the [SC]!", 1) @@ -599,6 +600,7 @@ SC.open() else C.welded = 0 + C.update_icon() usr << "\red You successfully break out!" for(var/mob/O in viewers(L.loc)) O.show_message("\red \the [usr] successfully broke out of \the [C]!", 1) diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index eecba616fbe..a5eb4010197 100755 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -99,6 +99,8 @@ return if(target in user) return + if(user in target) //no wrapping closets that you are inside - it's not physically possible + return user.attack_log += text("\[[time_stamp()]\] Has used [src.name] on \ref[target]")