mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Update SSOverlays (ported from Baystation) (#19051)
Our SSOverlays system is outdated, and is likely the cause of many of the issues seen in #18895. It has also been linked to a massive server performance decrease. This brings an updated system from Baystation, hopefully with speed increases. Should be testmerged, ideally with #18895. --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
405a05b819
commit
9983fca311
@@ -31,10 +31,10 @@
|
||||
var/image/plasticflaps_overlay = overlay_image(icon, "plasticflaps_overlay", null, RESET_COLOR)
|
||||
if(dir == WEST || dir == EAST)
|
||||
plasticflaps_overlay.pixel_y = -13
|
||||
add_overlay(plasticflaps_overlay)
|
||||
AddOverlays(plasticflaps_overlay)
|
||||
|
||||
/obj/structure/plasticflaps/Destroy()
|
||||
cut_overlays()
|
||||
ClearOverlays()
|
||||
if(airtight)
|
||||
clear_airtight()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user