general: Fix config & DC paths

This commit is contained in:
John Cote 2024-03-30 23:45:35 -04:00
parent ffc6cbd69b
commit 5cbcd65c94
No known key found for this signature in database
GPG Key ID: 2CBB7FE216D556FB
5 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -20,4 +20,3 @@ venv/
PPYTHON_PATH PPYTHON_PATH
local/ local/
errorCode errorCode
otpgo

View File

@ -31,8 +31,8 @@ want-dev 0
schellgames-dev 0 schellgames-dev 0
# DC Files # DC Files
dc-file etc/toon.dc dc-file config/toon.dc
dc-file etc/otp.dc dc-file config/otp.dc
# HTTP/Downloading # HTTP/Downloading
verify-ssl 0 verify-ssl 0

1
otpgo/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
otpgo

View File

@ -1,6 +1,6 @@
if __debug__: if __debug__:
from panda3d.core import loadPrcFile from panda3d.core import loadPrcFile
loadPrcFile('etc/Configrc.prc') loadPrcFile('config/Configrc.prc')
else: else:
import sys import sys
sys.path = [''] sys.path = ['']

View File

@ -13,7 +13,7 @@ try:
launcher launcher
except: except:
if __debug__: if __debug__:
loadPrcFile('etc/Configrc.prc') loadPrcFile('config/Configrc.prc')
from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher from toontown.launcher.ToontownDummyLauncher import ToontownDummyLauncher
launcher = ToontownDummyLauncher() launcher = ToontownDummyLauncher()