diff --git a/Export/android/app/src/main/AndroidManifest.xml b/Export/android/app/src/main/AndroidManifest.xml
index b6ecf519..d705cafd 100644
--- a/Export/android/app/src/main/AndroidManifest.xml
+++ b/Export/android/app/src/main/AndroidManifest.xml
@@ -9,6 +9,8 @@
+
+
{
#if sys
- hxd.System.openURL("https://ko-fi.com/H2H5FRTTL");
+ Settings.open_url("https://ko-fi.com/H2H5FRTTL");
#end
#if js
js.Browser.window.open("https://ko-fi.com/H2H5FRTTL");
@@ -102,7 +102,7 @@ class MainMenuGui extends GuiImage {
github.extent = new Vector(94, 38);
github.pressedAction = (sender) -> {
#if sys
- hxd.System.openURL("https://github.com/RandomityGuy/MBHaxe");
+ Settings.open_url("https://github.com/RandomityGuy/MBHaxe");
#end
#if js
js.Browser.window.open("https://github.com/RandomityGuy/MBHaxe");
diff --git a/src/gui/PlayMissionGui.hx b/src/gui/PlayMissionGui.hx
index d84e56e0..3bb241b7 100644
--- a/src/gui/PlayMissionGui.hx
+++ b/src/gui/PlayMissionGui.hx
@@ -103,7 +103,7 @@ class PlayMissionGui extends GuiImage {
var mbo = new MessageBoxYesNoDlg("The custom level browser is not available in this game.\n Please play Marble Blast Platinum to get access to 5000+ cummunity made customs of both Marble Blast Gold and Marble Blast Platinum. Visit download link?",
() -> {
#if sys
- hxd.System.openURL("https://github.com/RandomityGuy/MBHaxe");
+ Settings.open_url("https://github.com/RandomityGuy/MBHaxe");
#end
#if js
js.Browser.window.open("https://github.com/RandomityGuy/MBHaxe");
@@ -578,7 +578,6 @@ class PlayMissionGui extends GuiImage {
setCategoryFunc(currentCategoryStatic, false);
- #if js
var kofi = new GuiButton(loadButtonImages("data/ui/kofi1"));
kofi.horizSizing = Left;
kofi.vertSizing = Top;
@@ -586,14 +585,13 @@ class PlayMissionGui extends GuiImage {
kofi.extent = new Vector(143, 36);
kofi.pressedAction = (sender) -> {
#if sys
- hxd.System.openURL("https://ko-fi.com/H2H5FRTTL");
+ Settings.open_url("https://ko-fi.com/H2H5FRTTL");
#end
#if js
js.Browser.window.open("https://ko-fi.com/H2H5FRTTL");
#end
}
this.addChild(kofi);
- #end
}
public override function render(scene2d:Scene) {