Jump to content

Polluted oxygen space!


BezKa
  • Branch: Live Branch Version: Windows Pending

obraz.png.4b0fa74c78064bede73767ac01973378.png

uh oh

stinky

 


Steps to Reproduce

No clue, I have never had an issue like this before. Hopefully the save helps.

Antfarm.sav




User Feedback


this is caused by a bug that doesnt properly initialize the space exposure on newly constructed rocket interiors.

will fix itself on game load.

 

@Devs: to fix this, go to the method "WorldContainer.PlaceInteriorTemplate()" and change the call

SimMessages.ModifyCellWorldZone(num2, 7);
World.Instance.zoneRenderData.worldZoneTypes[num2] = SubWorld.ZoneType.Space;

to 

SimMessages.ModifyCellWorldZone(num2, 255);
World.Instance.zoneRenderData.worldZoneTypes[num2] = SubWorld.ZoneType.Space;

as 255 is the sim zone type that enables space exposure

 

(I assume the "7" from the decompiled code here is an inlined

(int)SubWorld.ZoneType.Space

)

Edited by SGT_Imalas
  • Like 1
  • Sanity 2

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...