mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +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
@@ -122,7 +122,7 @@
|
||||
while(length(resource_field) && !harvesting.resources)
|
||||
harvesting.has_resources = FALSE
|
||||
harvesting.resources = null
|
||||
harvesting.cut_overlay(harvesting.resource_indicator)
|
||||
harvesting.CutOverlays(harvesting.resource_indicator)
|
||||
QDEL_NULL(harvesting.resource_indicator)
|
||||
resource_field -= harvesting
|
||||
if(length(resource_field))
|
||||
@@ -169,7 +169,7 @@
|
||||
if(!found_resource)
|
||||
harvesting.has_resources = FALSE
|
||||
harvesting.resources = null
|
||||
harvesting.cut_overlay(harvesting.resource_indicator)
|
||||
harvesting.CutOverlays(harvesting.resource_indicator)
|
||||
QDEL_NULL(harvesting.resource_indicator)
|
||||
resource_field -= harvesting
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user