mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 09:34:52 +01:00
use ref. if really needed (#19518)
* use ref. if really needed * replace browse_rsc with the macro for it
This commit is contained in:
@@ -350,7 +350,7 @@ Book Cart End
|
||||
user << browse(dat, "window=[name]")
|
||||
else if(istype(pages[page], /obj/item/photo))
|
||||
var/obj/item/photo/P = W
|
||||
user << browse_rsc(P.img, "tmp_photo.png")
|
||||
send_rsc(user, P.img, "tmp_photo.png")
|
||||
user << browse("<html>" + dat + "<head><title>[P.name]</title></head>" \
|
||||
+ "<body style='overflow:hidden'>" \
|
||||
+ "<div> <img src='tmp_photo.png' width = '180'" \
|
||||
|
||||
Reference in New Issue
Block a user