diff --git a/code/modules/tgui/plugins/login.dm b/code/modules/tgui/plugins/login.dm index ae0ac9c028e..044ab46fad7 100644 --- a/code/modules/tgui/plugins/login.dm +++ b/code/modules/tgui/plugins/login.dm @@ -130,6 +130,9 @@ GLOBAL_LIST(tgui_logins) state.name = state.id.registered_name state.rank = state.id.assignment state.access = state.id.access + else + to_chat(usr, "Access Denied") + return else if(login_type == LOGIN_TYPE_AI && isAI(usr)) state.name = usr.name state.rank = "AI"