diff options
-rw-r--r-- | game/01_init.rpy | 6 | ||||
-rw-r--r-- | game/04_init.rpy | 4 | ||||
-rw-r--r-- | game/options.rpy | 3 |
3 files changed, 9 insertions, 4 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy index 55a305c..10f7908 100644 --- a/game/01_init.rpy +++ b/game/01_init.rpy @@ -308,6 +308,12 @@ init -3 python: return posix/1024.0 # File Managment Functions + # We could use Android/data/org.renpy.mygame/files/game + # to patch directly and achieve a better experience, BUT + # 1. this code is old, and 2. save folder can easily be + # retrieved from config and makes testing on Linux closer + # to the actual android experience (saves on debugging) + # Meanwhile, Windows has all sort of issues. def get_path(path): if not renpy.windows: path=path.replace("/", "_") diff --git a/game/04_init.rpy b/game/04_init.rpy index 304f63a..9b73cd2 100644 --- a/game/04_init.rpy +++ b/game/04_init.rpy @@ -189,9 +189,9 @@ init python: while not done: try: if use_ssl: - ws = GameClient("wss://"+HOST+":61000") + ws = GameClient("wss://"+HOST+":"+PORT) else: - ws = GameClient("ws://"+HOST+":61000") + ws = GameClient("ws://"+HOST+":"+PORT) ws.connect() # May be problematic. # Specially if exception is uncaught diff --git a/game/options.rpy b/game/options.rpy index f2297a3..4ef2a51 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -26,6 +26,7 @@ init -2 python: define gui.show_name = True define _confirm_quit = False define config.gl2 = False +define config.allow_underfull_grids = True ## Debug #define config.profile = True @@ -262,5 +263,3 @@ init python: define build.include_update = True -define config.allow_underfull_grids = True - |