mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Default turn = 1 if none set
This commit is contained in:
@@ -398,6 +398,8 @@ public abstract class GameState {
|
|||||||
|
|
||||||
if (categoryName.equals("turn")) {
|
if (categoryName.equals("turn")) {
|
||||||
turn = Integer.parseInt(categoryValue);
|
turn = Integer.parseInt(categoryValue);
|
||||||
|
} else {
|
||||||
|
turn = 1;
|
||||||
}
|
}
|
||||||
if (categoryName.endsWith("life")) {
|
if (categoryName.endsWith("life")) {
|
||||||
if (isHuman)
|
if (isHuman)
|
||||||
|
|||||||
Reference in New Issue
Block a user