Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit e9cd7ff

Browse files
committed
Fix game startup crash if no internet
1 parent 38c8c8e commit e9cd7ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

game/scripts/splashscreen.rpy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ label splashscreen:
1616
elif renpy.windows:
1717
itch_butler_channel = 'win'
1818

19+
local_version = None
20+
itch_version = None
1921
try:
2022
# query for version on itch
2123
response = requests.get(f"https://itch.io/api/1/x/wharf/latest?target={itch_butler_target}&channel_name={itch_butler_channel}")

0 commit comments

Comments
 (0)