From 417914dc894abf4bcd52bf27f55676bafe89c2ca Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Tue, 26 Mar 2024 04:53:39 -0500 Subject: [PATCH] fixes bot menu jumpscares (#24780) --- code/modules/mob/living/simple_animal/bot/bot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index c03dcb1b381..0478b375a99 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -918,7 +918,7 @@ Pass a positive integer as an argument to override a bot's default speed. var/datum/browser/popup = new(M,window_id,window_name,350,600) popup.set_content(dat) popup.open() - onclose(M, window_id, src) + onclose(M, window_id, UID()) return /mob/living/simple_animal/bot/proc/update_controls()