Skip to content

Commit

Permalink
Merge pull request #705 from zymex22/issue704
Browse files Browse the repository at this point in the history
Fixed issue removing SaveStorage Gizmos from other buildings
  • Loading branch information
Sn1p3rr3c0n authored Jul 20, 2023
2 parents 11d5d6b + baffaf5 commit 68f2356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static IEnumerable<CodeInstruction> Transpiler_IsWorkTable(IEnumerable<CodeInstr
/// <returns></returns>
public static bool IsValidBuilding(Building building)
{
return (building as IBillTab) != null;
return building.def.IsWorkTable || (building as IBillTab) != null;
}

/// <summary>
Expand Down

0 comments on commit 68f2356

Please sign in to comment.