Fixes runtimes, the prescription glasses work properly, now.

This commit is contained in:
SkyMarshal
2012-02-18 14:22:30 -07:00
parent 73b96aba6c
commit f3ce349e5d
3 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -249,8 +249,8 @@ var/global/datum/controller/occupations/job_master
//Give'em glasses if they are nearsighted
if(H.disabilities & 1)
var/equipped = H.equip_if_possible(new /obj/item/clothing/glasses/regular(H), H.slot_glasses)
if(equipped)
var/obj/item/clothing/glasses/G = H.slot_glasses
if(!equipped)
var/obj/item/clothing/glasses/G = H.glasses
G.prescription = 1
H.update_clothing()
return 1