mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-25 21:53:12 +09:00
.
This commit is contained in:
1 parent
2a9e2b7352
commit
0ee26f5310
1 file changed
+6
-3
+6
-3
@@ -109,10 +109,13 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
|
|||||||
|
|
||||||
function space_white_science()
|
function space_white_science()
|
||||||
local surface = game.surfaces['space-platform']
|
local surface = game.surfaces['space-platform']
|
||||||
local hub_init = surface.can_place_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
|
|
||||||
|
|
||||||
if hub_init then
|
if surface then
|
||||||
surface.create_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
|
local hub_init = surface.can_place_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
|
||||||
|
|
||||||
|
if hub_init then
|
||||||
|
surface.create_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user