Skip to content

Commit

Permalink
v1.33
Browse files Browse the repository at this point in the history
  • Loading branch information
juanosarg committed Feb 18, 2022
1 parent 571a5d5 commit d749227
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file modified 1.3/Assemblies/VanillaPowerExpanded.dll
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static void Postfix(IntVec3 c, bool perceivedStatic, ref int __result, Ma
// add extra pathing cost for tiles on or close to toxic or flammable gas.
// this is analogous to the vanilla code for fire.

if (VanillaPowerExpanded.VanillaPowerExpanded_Mod.settings.disableGasPathCalculations)
if (!VanillaPowerExpanded.VanillaPowerExpanded_Mod.settings.disableGasPathCalculations)
{
if (perceivedStatic && Gas_Spreading.AnyGases)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class Region
{
public static void Postfix(ref Danger __result, Verse.Region __instance)
{
if (VanillaPowerExpanded.VanillaPowerExpanded_Mod.settings.disableGasPathCalculations) {
if (!VanillaPowerExpanded.VanillaPowerExpanded_Mod.settings.disableGasPathCalculations) {
if (Gas_Spreading.AnyGases)
{
var danger = MapComponent_GasDanger.GetCachedComp(__instance.Map)?.DangerIn(__instance) ?? Danger.None;
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit d749227

Please sign in to comment.