From 8a6126d98a1ef8f650ee0cff850e62bd1f20f577 Mon Sep 17 00:00:00 2001 From: Prokube <68293280+prokube@users.noreply.github.com> Date: Wed, 2 Jun 2021 16:09:16 -0700 Subject: [PATCH] useless function --- source/MusicBeatState.hx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/MusicBeatState.hx b/source/MusicBeatState.hx index 65b2f7c..d98bd64 100644 --- a/source/MusicBeatState.hx +++ b/source/MusicBeatState.hx @@ -111,4 +111,13 @@ class MusicBeatState extends FlxUIState { //do literally nothing dumbass } + + public function fancyOpenURL(schmancy:String) + { + #if linux + Sys.command('/usr/bin/xdg-open', [schmancy, "&"]); + #else + FlxG.openURL(schmancy); + #end + } }