Rage legacy load fix

This commit is contained in:
Dominic committed 2021-07-24 12:54:38 -05:00
1 parent 133150913b
commit 5802eaf7a4
1 file changed
+1 -1
+1 -1
View File
@@ -1228,7 +1228,7 @@ namespace CalamityMod.CalPlayer
// Load rage from "stress" if this is an older save. Otherwise load it from "rage", its new name.
if (tag.ContainsKey("stress"))
rage = tag.GetFloat("stress");
rage = tag.GetInt("stress");
else
rage = tag.GetFloat("rage");