CCDirectLink / CCLoader

Modloader for crosscode
35 stars 11 forks source link

Some ccmod and browser fixes #84

Closed L-Sherry closed 4 years ago

L-Sherry commented 4 years ago

Here are some browser and service worker fixes.

The first one fixes another browser issue with non-ccmod mods not finding package.json.

The second one is what prevented the ccmod version of Bob-Rank from working. To trigger this bug, one must play the game for like 5 minutes without triggering any request, then request a resource inside a ccmod. Bob-Rank was probably the only affected mod, because it loads some of its resources after 5 minutes of grinding in a loop to achieve S-Rank.

The third one forces the service worker to be reloaded, or else, applying the second patch will make the game fail to load once.