Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Fixed the multiplayer configuration issues (except for Stationary Merchant who stills sells items in an different way for multiplayer as a workaround).
  • Loading branch information
dragon3025 authored Mar 31, 2019
1 parent 5b5bc65 commit ea982f9
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 47 deletions.
4 changes: 2 additions & 2 deletions Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public static void Load()
{
bool success = ReadConfig();

if(!success)
if(!success/* && Main.netMode == 0*/) //Singleplayer
{
ErrorLogger.Log("Failed to read Reduced Grinding's config file! Recreating config...");
CreateConfig();
Expand All @@ -495,7 +495,7 @@ public static void Load()

static bool ReadConfig()
{
if(Configuration.Load())
if(Configuration.Load()/* && Main.netMode == 0*/) //Singleplayer
{
Mod luiafk = ModLoader.GetMod("Luiafk"); //Prevent adding items that Luiafk already adds

Expand Down
Loading

0 comments on commit ea982f9

Please sign in to comment.