mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-19 15:23:12 +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
|
--- @param surface? LuaSurface
|
||||||
local function surface_updated(surface)
|
local function surface_updated(surface)
|
||||||
local surface_index = surface and surface.index or 0
|
local surface_index = surface and surface.index or 1
|
||||||
if surface_index == 0 then return end
|
|
||||||
if vlayer_data[surface_index] then return end
|
if vlayer_data[surface_index] then return end
|
||||||
|
|
||||||
-- global surface will have its data point to the main surface
|
-- global surface will have its data point to the main surface
|
||||||
|
|||||||
Reference in new issue
Block a user