From 4b10c03952dbd81516513ea7af4af1c122bcd0ef Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Thu, 18 Jul 2024 23:45:55 +0530 Subject: [PATCH] fix dts shows --- src/Settings.hx | 4 ++++ src/gui/MPEndGameGui.hx | 1 + 2 files changed, 5 insertions(+) diff --git a/src/Settings.hx b/src/Settings.hx index 03fbfa8c..fb7de0c9 100644 --- a/src/Settings.hx +++ b/src/Settings.hx @@ -255,6 +255,10 @@ class Settings { @:hlNative public static function open_web_url(url:String):Void {} #end + #if (!android) + public static function open_web_url(url:String):Void {} + #end + public static function applySettings() { #if (hl && !android) Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight); diff --git a/src/gui/MPEndGameGui.hx b/src/gui/MPEndGameGui.hx index 5535e23d..f26e4537 100644 --- a/src/gui/MPEndGameGui.hx +++ b/src/gui/MPEndGameGui.hx @@ -308,6 +308,7 @@ class MPEndGameGui extends GuiImage { oShow.extent = extent; oShow.renderDistance = dist; oShow.renderPitch = pitch; + oShow.visible = true; return oShow; } }