forward refs in usr dialog (#17090)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-02-08 14:11:16 -05:00
committed by GitHub
co-authored by Cameron Lennox
parent f326dec745
commit adcd25a00f
48 changed files with 210 additions and 202 deletions
@@ -365,7 +365,7 @@
usr.set_machine(src)
if(href_list["refresh"])
update_patient()
src.updateUsrDialog()
src.updateUsrDialog(usr)
sleeperUI(usr)
return
if(href_list["eject"])
@@ -456,7 +456,7 @@
else
to_chat(usr, span_notice("ERROR: Subject cannot metabolise chemicals."))
updateUsrDialog()
updateUsrDialog(usr)
sleeperUI(usr) //Needs a callback to boop the page to refresh.
return