fixed world ore type-based systems never worked
This commit is contained in:
1 parent
db16ba4bf6
commit
da19025a1b
2 files changed
+6
-6
No files matched your search
@@ -548,10 +548,10 @@ namespace CalamityMod.Systems
|
||||
}
|
||||
|
||||
// Save the set of ores that got generated
|
||||
OreTypes[0] = (ushort)GenVars.copperBar;
|
||||
OreTypes[1] = (ushort)GenVars.ironBar;
|
||||
OreTypes[2] = (ushort)GenVars.silverBar;
|
||||
OreTypes[3] = (ushort)GenVars.goldBar;
|
||||
OreTypes[0] = (ushort)GenVars.copper;
|
||||
OreTypes[1] = (ushort)GenVars.iron;
|
||||
OreTypes[2] = (ushort)GenVars.silver;
|
||||
OreTypes[3] = (ushort)GenVars.gold;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -212,8 +212,8 @@ namespace CalamityMod.World.Planets
|
||||
|
||||
private int[] BarLoot = new int[]
|
||||
{
|
||||
GenVars.copperBar == TileID.Copper ? ItemID.CopperBar : ItemID.TinBar,
|
||||
GenVars.ironBar == TileID.Iron ? ItemID.IronBar : ItemID.LeadBar
|
||||
GenVars.copper == TileID.Copper ? ItemID.CopperBar : ItemID.TinBar,
|
||||
GenVars.iron == TileID.Iron ? ItemID.IronBar : ItemID.LeadBar
|
||||
};
|
||||
|
||||
private void FillChest(int id)
|
||||
|
||||
Reference in new issue
Block a user