Skip to content

Commit

Permalink
Fixes compilation error for antag tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Kmc2000 committed Dec 4, 2020
1 parent dd0b23d commit db7eb24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/antagonists/_common/antag_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db7eb24

Please sign in to comment.