Skip to content

Commit

Permalink
Fix get_game_config functions not registering patches and mods, push …
Browse files Browse the repository at this point in the history
…new assets

The function to patch the game config had to be moved to the get_game_config file since some of the functions didn't see the changes just like on the SE codebase
  • Loading branch information
Nerroth committed Dec 20, 2022
1 parent 8a56020 commit 0ccdec7
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 3 deletions.
Binary file added assets/characters_2/evil_10.swf
Binary file not shown.
Binary file added assets/characters_2/evil_5.swf
Binary file not shown.
Binary file added assets/characters_2/evil_6_2.swf
Binary file not shown.
Binary file added assets/characters_2/evil_8.swf
Binary file not shown.
Binary file added assets/characters_2/evil_9.swf
Binary file not shown.
Binary file added assets/characters_2/evil__7.swf
Binary file not shown.
Binary file added assets/characters_2/nebula_priest_mentor.swf
Binary file not shown.
Binary file added assets/fx/p.nebularSpear.swf
Binary file not shown.
Binary file added assets/thumbs/btn_bolas_dragon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/thumbs/btn_laser_dragon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions get_game_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def patch_game_config():

remove_duplicate_items()

print (" [+] Applying config patches and mods...")
patch_game_config()

def get_game_config() -> dict:
return __game_config

Expand Down
4 changes: 1 addition & 3 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
os.system("color")

print (" [+] Loading game config...")
from get_game_config import get_game_config, patch_game_config
print (" [+] Applying config patches...")
patch_game_config()
from get_game_config import get_game_config

print (" [+] Loading players...")
from get_player_info import get_player_info, get_neighbor_info
Expand Down

0 comments on commit 0ccdec7

Please sign in to comment.