From db7eb24da8ced2bd85c8120f299b65ba231dab44 Mon Sep 17 00:00:00 2001 From: Kmc2000 Date: Fri, 4 Dec 2020 10:55:21 +0000 Subject: [PATCH] Fixes compilation error for antag tips --- code/modules/antagonists/_common/antag_datum.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/antagonists/_common/antag_datum.dm b/code/modules/antagonists/_common/antag_datum.dm index c87cb94741e..45b18e6e37c 100644 --- a/code/modules/antagonists/_common/antag_datum.dm +++ b/code/modules/antagonists/_common/antag_datum.dm @@ -38,6 +38,9 @@ GLOBAL_LIST(admin_antag_list) popup.set_content(replacetext(rustg_file_read("html/antagtips/[html_encode(fileid)].html"), regex("\\w*.png", "gm"), /datum/antagonist/proc/get_asset_url_from)) popup.open(FALSE) +/datum/antagonist/proc/get_asset_url_from(match) + return SSassets.transport.get_asset_url(match) + /datum/antagonist/New() GLOB.antagonists += src typecache_datum_blacklist = typecacheof(typecache_datum_blacklist)