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:
parent
00534625b3
commit
8fb5ce12e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user