THIS FIXES IT (well it should :) )

This commit is contained in:
Letter N
2021-02-22 21:05:07 +08:00
parent 7c0a63f729
commit 2be4c76add
9 changed files with 29 additions and 16 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ GLOBAL_LIST_INIT(ai_core_display_screens, list(
if(input == "Random")
input = pick(GLOB.ai_core_display_screens - "Random")
if(input == "Portrait")
var/datum/portrait_picker/tgui = new(usr)//create the datum
var/datum/portrait_picker/tgui = new(usr)//create the datum
tgui.ui_interact(usr)//datum has a tgui component, here we open the window
return "ai-portrait" //just take this until they decide
return "ai-[lowertext(input)]"