mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Ports "Removes some getflaticon calls from things that don't draw browser interfaces"
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
/obj/item/wallframe/picture/update_icon()
|
/obj/item/wallframe/picture/update_icon()
|
||||||
cut_overlays()
|
cut_overlays()
|
||||||
if(displayed)
|
if(displayed)
|
||||||
add_overlay(getFlatIcon(displayed))
|
add_overlay(image(displayed))
|
||||||
|
|
||||||
/obj/item/wallframe/picture/after_attach(obj/O)
|
/obj/item/wallframe/picture/after_attach(obj/O)
|
||||||
..()
|
..()
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
/obj/structure/sign/picture_frame/update_icon()
|
/obj/structure/sign/picture_frame/update_icon()
|
||||||
cut_overlays()
|
cut_overlays()
|
||||||
if(framed)
|
if(framed)
|
||||||
add_overlay(getFlatIcon(framed))
|
add_overlay(image(framed))
|
||||||
|
|
||||||
/obj/structure/sign/picture_frame/deconstruct(disassembled = TRUE)
|
/obj/structure/sign/picture_frame/deconstruct(disassembled = TRUE)
|
||||||
if(!(flags_1 & NODECONSTRUCT_1))
|
if(!(flags_1 & NODECONSTRUCT_1))
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
else
|
else
|
||||||
var/list/choice_list = list()
|
var/list/choice_list = list()
|
||||||
for(var/obj/item/I in items_list)
|
for(var/obj/item/I in items_list)
|
||||||
choice_list[I] = getFlatIcon(I)
|
choice_list[I] = image(I)
|
||||||
var/obj/item/choice = show_radial_menu(owner, owner, choice_list)
|
var/obj/item/choice = show_radial_menu(owner, owner, choice_list)
|
||||||
if(owner && owner == usr && owner.stat != DEAD && (src in owner.internal_organs) && !holder && (choice in contents))
|
if(owner && owner == usr && owner.stat != DEAD && (src in owner.internal_organs) && !holder && (choice in contents))
|
||||||
// This monster sanity check is a nice example of how bad input is.
|
// This monster sanity check is a nice example of how bad input is.
|
||||||
|
|||||||
Reference in New Issue
Block a user