mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
qdel added to console and return to roundstart
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user