Adds cancel button to teleportation scrolls

This commit is contained in:
Arkatos1
2019-04-19 15:59:03 +02:00
parent 617b8835d7
commit bb985d44d4
+5 -1
View File
@@ -47,7 +47,11 @@
var/A
A = input(user, "Area to jump to", "BOOYEA", A) in teleportlocs
A = input(user, "Area to jump to", "BOOYEA", A) as null|anything in teleportlocs
if(!A)
return
var/area/thearea = teleportlocs[A]
if(user.stat || user.restrained())