File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # Map Tacks 2.0.0 [ <img align =" right " src =" maptacks.png " height =" 256 " width =" 256 " >] ( https://steamcommunity.com/sharedfiles/filedetails/?id=1122081356 )
1
+ # Map Tacks 2.0.1 [ <img align =" right " src =" maptacks.png " height =" 256 " width =" 256 " >] ( https://steamcommunity.com/sharedfiles/filedetails/?id=1122081356 )
2
2
Adds new map icons
3
3
Enhances list interface
4
4
Fixes bugs and styling
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ function MapTacks.PlayerTraits(playerID :number)
169
169
local traits = MapTacks .GameTraits ();
170
170
-- Then, add the player-specific traits.
171
171
local playerConfig = PlayerConfigurations [playerID ];
172
+ if playerConfig == nil then return traits ; end -- e.g. in benchmark mode
172
173
local leader = GameInfo .Leaders [playerConfig :GetLeaderTypeID ()];
173
174
for i , item in ipairs (leader .TraitCollection ) do
174
175
traits [item .TraitType ] = true ;
@@ -177,7 +178,6 @@ function MapTacks.PlayerTraits(playerID :number)
177
178
for i , item in ipairs (civilization .TraitCollection ) do
178
179
traits [item .TraitType ] = true ;
179
180
end
180
- local buildops = {};
181
181
return traits ;
182
182
end
183
183
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Mod id =" 0a1c826c-0f43-4876-b096-23e1292eee3c" version =" 2.0.0 " >
2
+ <Mod id =" 0a1c826c-0f43-4876-b096-23e1292eee3c" version =" 2.0.1 " >
3
3
<Properties >
4
4
<Name >Map Tacks</Name >
5
5
<Description >MAP_TACKS_DESCRIPTION</Description >
You can’t perform that action at this time.
0 commit comments