Re-added deletion logging

This commit is contained in:
Albert Iordache
2012-07-23 10:31:14 +03:00
parent 1c8d0dacd2
commit cfabe7be97
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
/atom/Del()
var/log_file = file("[time2text(world.timeofday, "deletions/DD-MM-YYYY.txt")]")
log_file << "Atom [name] - [x],[y],[z]"
. = ..()
/atom/proc/MouseDrop_T()
return
@@ -93,7 +93,7 @@
if (get_dist(user, src) > 1)
user << "\red You can't reach [src] from here."
return
if(istype(user:gloves,/obj/item/clothing/gloves))
if(ishuman(user) && istype(user:gloves,/obj/item/clothing/gloves))
return ..()
for(var/mob/O in viewers(src, null))
O.show_message(text("<b>[]</b> touches [].", user, src), 1)