mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Monkey mode now wont list name->key after the end of round.
Monkeys during monkey mode can use detective's revolver wearing hat and suit (without uniform). Fixed some runtime errors. Added ability for admins to disallow connecting for guests. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1395 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -443,7 +443,7 @@ obj/item/weapon/gun/revolver/attackby(obj/item/weapon/ammo/a357/A as obj, mob/us
|
||||
|
||||
/obj/item/weapon/gun/detectiverevolver/afterattack(atom/target as mob|obj|turf|area, mob/user as mob, flag)
|
||||
|
||||
var/detective = (istype(user:w_uniform, /obj/item/clothing/under/det) && istype(user:head, /obj/item/clothing/head/det_hat) && istype(user:wear_suit, /obj/item/clothing/suit/det_suit))
|
||||
var/detective = ((istype(user:w_uniform, /obj/item/clothing/under/det) || !istype(user, /mob/living/carbon/human)) && istype(user:head, /obj/item/clothing/head/det_hat) && istype(user:wear_suit, /obj/item/clothing/suit/det_suit))
|
||||
|
||||
if (flag)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user