Skip to content

Commit

Permalink
Case Sensitive Linux Fixes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
osugregor authored May 29, 2024
1 parent a55bb68 commit 1836a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SinZational Shared Spaces/ModEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static IEnumerable<CodeInstruction> SaveGame__loadDataToLocations__Transp
{
// Need to duplicate it due to NetCollection.Set clears the destination before iterating the argument.
// so if it was setting with itself as the argument it is a clear
var newCabin = new Cabin("Maps/Farmhouse");
var newCabin = new Cabin("Maps/FarmHouse");
newCabin.name.Value = location.name.Value;
newCabin.isFarm.Value = true;
newCabin.isAlwaysActive.Value = true;
Expand All @@ -265,7 +265,7 @@ public static void Building__OnUseHumanDoor__Postfix(Building __instance, Farmer
if (__instance.buildingType.Value != "Farmhouse") return;
if (!who.modData.TryGetValue(Constants.SelectedFloor, out var floor)) return;
// Default behaviour
if (floor == "Farmhouse") return;
if (floor == "FarmHouse") return;
__result = false;

who.currentLocation.playSound("doorClose", who.Tile);
Expand Down

0 comments on commit 1836a3c

Please sign in to comment.