fixes rangecheck on laptop verbs

This commit is contained in:
Walter0o
2014-07-10 16:24:38 +02:00
parent 5b3f7b30c0
commit e1a8e95081

View File

@@ -33,7 +33,11 @@
set name = "open laptop"
set category = "Object"
set src in view(1)
if(!Adjacent(usr))
usr << "You can't reach it."
return
if(!istype(loc,/turf))
usr << "[src] is too bulky! You'll have to set it down."
return
@@ -82,7 +86,11 @@
set name = "Close Laptop"
set category = "Object"
set src in view(1)
if(!Adjacent(usr))
usr << "You can't reach it."
return
if(istype(loc,/obj/item/device/laptop))
testing("Close closed computer")
return