mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
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
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name:"Archery",
|
name:"Archery",
|
||||||
row:5
|
row:7
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name:"Mining",
|
name:"Mining",
|
||||||
|
@ -130,8 +130,8 @@
|
|||||||
rangedStrength:14,
|
rangedStrength:14,
|
||||||
cost: 120,
|
cost: 120,
|
||||||
requiredTech:"Physics",
|
requiredTech:"Physics",
|
||||||
obsoleteTech:"Chemistry",
|
/*obsoleteTech:"Chemistry",
|
||||||
upgradesTo:"Cannon",
|
upgradesTo:"Cannon",*/
|
||||||
uniques:["Bonus vs City 200%","No defensive terrain bonus","Must set up to ranged attack","Limited Visibility"],
|
uniques:["Bonus vs City 200%","No defensive terrain bonus","Must set up to ranged attack","Limited Visibility"],
|
||||||
hurryCostModifier:20
|
hurryCostModifier:20
|
||||||
},
|
},
|
||||||
|
@ -21,8 +21,8 @@ android {
|
|||||||
applicationId "com.unciv.game"
|
applicationId "com.unciv.game"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 65
|
versionCode 67
|
||||||
versionName "2.2.5"
|
versionName "2.2.7"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
@ -4,12 +4,13 @@ import android.os.Bundle;
|
|||||||
|
|
||||||
import com.badlogic.gdx.backends.android.AndroidApplication;
|
import com.badlogic.gdx.backends.android.AndroidApplication;
|
||||||
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
|
||||||
|
import com.unciv.UnCivGame;
|
||||||
|
|
||||||
public class AndroidLauncher extends AndroidApplication {
|
public class AndroidLauncher extends AndroidApplication {
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate (Bundle savedInstanceState) {
|
protected void onCreate (Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
|
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
|
||||||
initialize(new com.unciv.UnCivGame(), config);
|
initialize(new UnCivGame(), config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user