diff --git a/Android/Android.csproj b/Android/Android.csproj index e26dbc9..228abfe 100644 --- a/Android/Android.csproj +++ b/Android/Android.csproj @@ -50,7 +50,7 @@ false false - apk + aab true false diff --git a/Android/Properties/AndroidManifest.xml b/Android/Properties/AndroidManifest.xml index 318c5fa..bc9bae2 100644 --- a/Android/Properties/AndroidManifest.xml +++ b/Android/Properties/AndroidManifest.xml @@ -1,6 +1,6 @@  + android:versionCode="101" android:versionName="1.0.1"> diff --git a/TouchyTickets/Attractions/Attraction.cs b/TouchyTickets/Attractions/Attraction.cs index ccfa0d8..94be9c5 100644 --- a/TouchyTickets/Attractions/Attraction.cs +++ b/TouchyTickets/Attractions/Attraction.cs @@ -50,8 +50,9 @@ namespace TouchyTickets.Attractions { var drawScale = scale; if (this.animationSizeModifier > 0) drawScale += (float) Math.Sin(this.animationSizeModifier) * 0.05F; - var center = this.Type.TextureRegion.Size.ToVector2() / 2; - batch.Draw(Assets.AttractionTexture[this.Type.TextureRegion], position + center * scale, Color.White * alpha, 0, center, drawScale, SpriteEffects.None, 0); + var tex = Assets.AttractionTexture[this.Type.TextureRegion]; + var center = tex.Size.ToVector2() / 2; + batch.Draw(tex, position + center * scale, Color.White * alpha, 0, center, drawScale, SpriteEffects.None, 0); } public float GetGenerationRate(ParkMap map, Point position) {