summaryrefslogtreecommitdiff
path: root/lwjgl3/src/main
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-01-21 03:17:15 +0500
committerilotterytea <iltsu@alright.party>2025-01-21 03:17:15 +0500
commit1ecd8d1d527b6b66b4746e44023b6ab3cb2ca4cc (patch)
tree44a766670059ef3beb1da048844fc7693418bcf8 /lwjgl3/src/main
parent4e524d08c5b427cabc1a6e452347c09c963eb86c (diff)
feat: using other serializer and gdx-websocket (because the old one doesn't support gwt)
Diffstat (limited to 'lwjgl3/src/main')
-rw-r--r--lwjgl3/src/main/java/kz/ilotterytea/frogartha/lwjgl3/Lwjgl3Launcher.java2
1 files changed, 2 insertions, 0 deletions
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());
}