[MIRROR] Refactor /ui_state/new_player_state to what it's designed for [MDB IGNORE] (#18175)

Refactor /ui_state/new_player_state to what it's designed for

Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com>
This commit is contained in:
SkyratBot
2023-01-06 16:35:20 +01:00
committed by GitHub
parent dc9294dff2
commit d12ee8c506
3 changed files with 13 additions and 8 deletions
+2
View File
@@ -117,6 +117,8 @@
ui.open()
/datum/interview/ui_state(mob/user)
if(check_rights_for(user.client, R_ADMIN))
return GLOB.always_state
return GLOB.new_player_state
/datum/interview/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)