Makes sure to fetch the file before showing the tooltip

This commit is contained in:
ItsSelis
2022-09-22 14:58:50 +02:00
parent 2ebae5edbf
commit aef7920167
+1 -2
View File
@@ -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()