mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-18 06:43:13 +09:00
.
This commit is contained in:
1 parent
6a94957159
commit
f37cbc3cc8
1 file changed
+1
-2
@@ -163,8 +163,7 @@ local vlayer_data = {}
|
||||
|
||||
--- @param surface? LuaSurface
|
||||
local function surface_updated(surface)
|
||||
local surface_index = surface and surface.index or 0
|
||||
if surface_index == 0 then return end
|
||||
local surface_index = surface and surface.index or 1
|
||||
if vlayer_data[surface_index] then return end
|
||||
|
||||
-- global surface will have its data point to the main surface
|
||||
|
||||
Reference in new issue
Block a user