TG: Runtime fixes

Moved delete to trial admins because they can already mass delete and that's not
particularly as helpful as regular delete (but a lot more destructive)
Trialmins can now toggle adminhelp sounds without observing
Revision: r3397
Author: 	 quartz235
This commit is contained in:
Ren Erthilo
2012-05-01 19:54:58 +01:00
parent 4077f00143
commit 1f45fbefe6
7 changed files with 39 additions and 30 deletions
@@ -2425,7 +2425,7 @@ It can still be worn/put on as normal.
var/obj/item/device/pda/pda = wear_id
var/obj/item/weapon/card/id/id = wear_id
if (istype(pda))
if (pda.id)
if (pda.id && istype(pda.id, /obj/item/weapon/card/id))
. = pda.id.assignment
else
. = pda.ownjob
+2
View File
@@ -89,6 +89,8 @@
/obj/item/weapon/grab/proc/s_click(obj/screen/S as obj)
if (!affecting)
return
if (assailant.next_move > world.time)
return
if ((!( assailant.canmove ) || assailant.lying))
@@ -545,6 +545,8 @@ datum/preferences
proc/process_link(mob/user, list/link_tags)
if(!usr)
return
if(link_tags["occ"])
if(link_tags["cancel"])
user << browse(null, "window=\ref[user]occupation")