Fixed crash caused by trebuchet listing "cannon" as upgrade, but the cannon doesn't exist yet 0_0
This commit is contained in:
parent
75627928b3
commit
14a1bc5626
4 changed files with 7 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
|||
},
|
||||
{
|
||||
name:"Archery",
|
||||
row:5
|
||||
row:7
|
||||
},
|
||||
{
|
||||
name:"Mining",
|
||||
|
|
|
@ -130,8 +130,8 @@
|
|||
rangedStrength:14,
|
||||
cost: 120,
|
||||
requiredTech:"Physics",
|
||||
obsoleteTech:"Chemistry",
|
||||
upgradesTo:"Cannon",
|
||||
/*obsoleteTech:"Chemistry",
|
||||
upgradesTo:"Cannon",*/
|
||||
uniques:["Bonus vs City 200%","No defensive terrain bonus","Must set up to ranged attack","Limited Visibility"],
|
||||
hurryCostModifier:20
|
||||
},
|
||||
|
|
|
@ -21,8 +21,8 @@ android {
|
|||
applicationId "com.unciv.game"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 26
|
||||
versionCode 65
|
||||
versionName "2.2.5"
|
||||
versionCode 67
|
||||
versionName "2.2.7"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
|
|
@ -4,12 +4,13 @@ import android.os.Bundle;
|
|||
|
||||
import com.badlogic.gdx.backends.android.AndroidApplication;
|
||||
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
||||
import com.unciv.UnCivGame;
|
||||
|
||||
public class AndroidLauncher extends AndroidApplication {
|
||||
@Override
|
||||
protected void onCreate (Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
|
||||
initialize(new com.unciv.UnCivGame(), config);
|
||||
initialize(new UnCivGame(), config);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue