v0.2.3a: hotfix, serious bug involving new record data
This commit is contained in:
@@ -46,8 +46,6 @@ public enum Rankings {
|
|||||||
|
|
||||||
public void submit( boolean win ) {
|
public void submit( boolean win ) {
|
||||||
|
|
||||||
load();
|
|
||||||
|
|
||||||
Record rec = new Record();
|
Record rec = new Record();
|
||||||
|
|
||||||
rec.info = Dungeon.resultDescription;
|
rec.info = Dungeon.resultDescription;
|
||||||
@@ -65,6 +63,8 @@ public enum Rankings {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
rec.gameFile = "";
|
rec.gameFile = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
load();
|
||||||
|
|
||||||
records.add( rec );
|
records.add( rec );
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ public enum Rankings {
|
|||||||
|
|
||||||
public HeroClass heroClass;
|
public HeroClass heroClass;
|
||||||
public int armorTier;
|
public int armorTier;
|
||||||
public int herolevel; //not currently used, but I may want this here in the future.
|
public int herolevel;
|
||||||
public int depth;
|
public int depth;
|
||||||
|
|
||||||
public int score;
|
public int score;
|
||||||
|
|||||||
Reference in New Issue
Block a user