mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -109,10 +109,13 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett
|
||||
|
||||
function space_white_science()
|
||||
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
|
||||
surface.create_entity{name='space-platform-hub', position={0, 0}, force='neutral'}
|
||||
if surface then
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user