From aef7920167f70b850a7b6bda71e96bb4c0908430 Mon Sep 17 00:00:00 2001 From: ItsSelis Date: Thu, 22 Sep 2022 14:58:50 +0200 Subject: [PATCH] Makes sure to fetch the file before showing the tooltip --- code/modules/tooltip/tooltip.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/tooltip/tooltip.dm b/code/modules/tooltip/tooltip.dm index 3f7fb158aa3..02a204e5b9d 100644 --- a/code/modules/tooltip/tooltip.dm +++ b/code/modules/tooltip/tooltip.dm @@ -42,6 +42,7 @@ Notes: /datum/tooltip/New(client/C) if (C) owner = C + get_asset_datum(/datum/asset/simple/jquery).send(owner) owner << browse(file2text('code/modules/tooltip/tooltip.html'), "window=[control]") ..() @@ -120,5 +121,3 @@ Notes: if(istype(user)) if(user.client && user.client.tooltips) user.client.tooltips.hide() - -