mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
Oops, silly mistake.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1805 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -907,10 +907,8 @@
|
||||
return
|
||||
if (istype(W, /obj/item/device/pda) || istype(W, /obj/item/weapon/pen))
|
||||
confirm = 1
|
||||
break
|
||||
if (is_type_in_list(W, wear_suit.allowed))
|
||||
confirm = 1
|
||||
break
|
||||
if (!confirm) return
|
||||
else
|
||||
u_equip(W)
|
||||
@@ -925,10 +923,8 @@
|
||||
if (head)
|
||||
if (istype(W, /obj/item/weapon/pen))
|
||||
confirm = 1
|
||||
break
|
||||
if (istype(head) && is_type_in_list(W, head.allowed)) // NOTE: head is /obj/item/clothing/head/ and parer hat is not /obj/item/clothing/ and does not have "allowed" --rastaf0
|
||||
confirm = 1
|
||||
break
|
||||
if (!confirm) return
|
||||
else
|
||||
u_equip(W)
|
||||
|
||||
Reference in New Issue
Block a user