diff --git a/modular_nova/modules/title_screen/code/new_player.dm b/modular_nova/modules/title_screen/code/new_player.dm index 711d8518949..4f0c184313f 100644 --- a/modular_nova/modules/title_screen/code/new_player.dm +++ b/modular_nova/modules/title_screen/code/new_player.dm @@ -64,6 +64,21 @@ if(href_list["late_join"]) play_lobby_button_sound() GLOB.latejoin_menu.ui_interact(usr) + return + + if(href_list["display_polls"]) + handle_player_polling() + return + + if (href_list["viewpoll"]) + var/datum/poll_question/poll = locate(href_list["viewpoll"]) in GLOB.polls + poll_player(poll) + return + + if (href_list["votepollref"]) + var/datum/poll_question/poll = locate(href_list["votepollref"]) in GLOB.polls + vote_on_poll_handler(poll, href_list) + return if(href_list["title_is_ready"]) title_screen_is_ready = TRUE @@ -170,9 +185,9 @@ qdel(query_get_new_polls) return if(query_get_new_polls.NextRow()) - output +={"POLLS (NEW)"} + output +={"POLLS (NEW)"} else - output +={"POLLS"} + output +={"POLLS"} qdel(query_get_new_polls) if(QDELETED(src)) return