1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-16 02:33:53 +02:00

Fix findBaseInitialAlignment() crash

Fixes findBaseInitialAlignment() crash by passing map instead of universe
This commit is contained in:
Dagothur 2021-05-13 07:46:55 -04:00
parent 00534625b3
commit 8fb5ce12e8

View File

@ -594,7 +594,7 @@ function baseUtils.rebuildNativeTables(universe, rg)
for x=1,#base.alignment do
local alignment = base.alignment[x]
if not universe.buildingEvolveLookup[alignment] then
base.alignment = findBaseInitialAlignment(universe, evoIndex)
base.alignment = findBaseInitialAlignment(map, evoIndex)
break
end
end