qdel added to console and return to roundstart

This commit is contained in:
Warior4356
2017-04-18 02:22:51 -07:00
parent d695d4e82a
commit acb31233e0
2 changed files with 3 additions and 1 deletions
@@ -27,6 +27,7 @@
switch(alert("What would you like to do?", "VR Control", "Join Room", "Make Room", "Cancel"))
if("Join Room")
spawn_vr_avatar(user, input(user, "Choose a room to join.","Select Level") as null|anything in vr_rooms)
qdel(user)
if("Make Room")
make_vr_room(input(user, "Name your new Room","Name here.") as null|text, input(user, "Choose a Level to load into your new Room.","Select Level") as null|anything in vr_templates)
if("Cancel")
+2 -1
View File
@@ -59,4 +59,5 @@ proc/spawn_vr_avatar(mob/living/carbon/human/H, datum/vr_room/room)
//Preloaded rooms
/hook/roundstart/proc/starting_levels()
make_vr_room("Lobby", "lobby", 0)
make_vr_room("Lobby", "lobby", 0)
return 1