mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Earlyports table/bench fix
Polaris being slow
This commit is contained in:
@@ -328,6 +328,15 @@ var/list/table_icon_cache = list()
|
|||||||
qdel(src)
|
qdel(src)
|
||||||
return shards
|
return shards
|
||||||
|
|
||||||
|
/obj/structure/table/can_visually_connect_to(var/obj/structure/S)
|
||||||
|
if(istype(S,/obj/structure/table/bench) && !istype(src,/obj/structure/table/bench))
|
||||||
|
return FALSE
|
||||||
|
if(istype(src,/obj/structure/table/bench) && !istype(S,/obj/structure/table/bench))
|
||||||
|
return FALSE
|
||||||
|
if(istype(S,/obj/structure/table))
|
||||||
|
return TRUE
|
||||||
|
..()
|
||||||
|
|
||||||
/proc/get_table_image(var/icon/ticon,var/ticonstate,var/tdir,var/tcolor,var/talpha)
|
/proc/get_table_image(var/icon/ticon,var/ticonstate,var/tdir,var/tcolor,var/talpha)
|
||||||
var/icon_cache_key = "\ref[ticon]-[ticonstate]-[tdir]-[tcolor]-[talpha]"
|
var/icon_cache_key = "\ref[ticon]-[ticonstate]-[tdir]-[tcolor]-[talpha]"
|
||||||
var/image/I = table_icon_cache[icon_cache_key]
|
var/image/I = table_icon_cache[icon_cache_key]
|
||||||
|
|||||||
Reference in New Issue
Block a user