Counting on machine controller to set uid was foolish of me.

This commit is contained in:
Chinsky
2013-12-22 23:14:23 +04:00
parent 68b51d3188
commit 4c4ee3eae5

View File

@@ -54,6 +54,10 @@
var/list/internal_log = list()
var/mode = 0 // 0 - making pass, 1 - viewing logs
/obj/machinery/computer/guestpass/New()
..()
uid = "[rand(100,999)]-G[rand(10,99)]"
/obj/machinery/computer/guestpass/attackby(obj/O, mob/user)
if(istype(O, /obj/item/weapon/card/id))
user.drop_item()