mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
Makes sure to fetch the file before showing the tooltip
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user