mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
/vg/ / -tg- asset_cache
Port of -tg-'s port of /vg/'s asset cache Funny thing is, this actually replaces an old version of /vg/'s asset cache we already had IT'S A PORT OF A PORT REPLACING A PORT POOOOOOOOOOOOOORTCEPTION Basically, gets rid of the 30-40 second interface lag when you first join, via *mumblemumble* MAGIC! Also moves a few nano files around.
This commit is contained in:
@@ -59,10 +59,8 @@
|
||||
user << "<span class='notice'>You have to go closer if you want to read it.</span>"
|
||||
|
||||
/obj/item/weapon/paper/proc/show_content(var/mob/user, var/forceshow = 0, var/forcestars = 0, var/infolinks = 0, var/view = 1)
|
||||
set src in oview(1)
|
||||
if(user.client) // Send the paper images to the client
|
||||
var/datum/asset/simple/S = new/datum/asset/simple/paper()
|
||||
send_asset_list(user.client, S.assets)
|
||||
var/datum/asset/assets = get_asset_datum(/datum/asset/simple/paper)
|
||||
assets.send(user)
|
||||
|
||||
var/data
|
||||
if((!user.say_understands(null, all_languages["Galactic Common"]) && !forceshow) || forcestars) //assuming all paper is written in common is better than hardcoded type checks
|
||||
|
||||
Reference in New Issue
Block a user