forked from cacklingfiend/lignumis
Add compatibility for "Any planet start"
This commit is contained in:
parent
b23b363702
commit
9b95d0ab80
7 changed files with 10 additions and 9 deletions
|
|
@ -62,7 +62,7 @@ end
|
|||
|
||||
InitNew.on_init = function()
|
||||
if game.tick > 0 then return end
|
||||
if script.active_mods["planet-picker"] then return end
|
||||
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
|
||||
|
||||
init_intro()
|
||||
init_space_locations()
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ end
|
|||
|
||||
-- Initialize the freeplay scenario
|
||||
local function init_freeplay(event)
|
||||
if script.active_mods["planet-picker"] then return end
|
||||
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
|
||||
if storage.crashed_ship_lignumis then return end
|
||||
|
||||
local player = game.get_player(event.player_index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue