From 1ecd8d1d527b6b66b4746e44023b6ab3cb2ca4cc Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 21 Jan 2025 03:17:15 +0500 Subject: feat: using other serializer and gdx-websocket (because the old one doesn't support gwt) --- .../src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lwjgl3/src/main/java/kz') diff --git a/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java b/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java index 4767186..86a6985 100644 --- a/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java +++ b/lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java @@ -2,6 +2,7 @@ package kz.ilotterytea.frogartha.lwjgl3; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration; +import com.github.czyzby.websocket.CommonWebSockets; import kz.ilotterytea.frogartha.FrogarthaGame; /** @@ -10,6 +11,7 @@ import kz.ilotterytea.frogartha.FrogarthaGame; public class Lwjgl3Launcher { public static void main(String[] args) { if (StartupHelper.startNewJvmIfRequired()) return; // This handles macOS support and helps on Windows. + CommonWebSockets.initiate(); new Lwjgl3Application(FrogarthaGame.getInstance(), getDefaultConfiguration()); } -- cgit v1.2.3