1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-03 13:11:54 +02:00

updated version and renabled expansion check

This commit is contained in:
Aaron Veden 2019-02-08 20:37:33 -08:00
parent 8c3d5de32a
commit 978c29adeb
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "0.16",
"version" : "0.16.35",
"version" : "0.16.36",
"title" : "Rampant",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -27,7 +27,7 @@ end
function aiPredicates.canMigrate(natives, surface)
return ((natives.state == AI_STATE_MIGRATING) or
(natives.state == AI_STATE_SIEGE))
-- and natives.expansion
and natives.expansion
and ((not natives.aiNocturnalMode) or
(natives.aiNocturnalMode and surface.darkness > 0.65))
end