Fixed another runtime with ass copying.

This commit is contained in:
Miauw
2013-10-27 15:04:10 +01:00
parent c57fb1dc6e
commit 0e889b7eb8
+1 -1
View File
@@ -38,7 +38,7 @@
user.set_machine(src)
var/dat = "Photocopier<BR><BR>"
if(copy || photocopy || (ass.loc == src.loc))
if(copy || photocopy || (ass && (ass.loc == src.loc))
dat += "<a href='byond://?src=\ref[src];remove=1'>Remove Paper</a><BR>"
if(toner)
dat += "<a href='byond://?src=\ref[src];copy=1'>Copy</a><BR>"