javisar / ONI-Modloader-Mods

Oxygen not Included Mods for ONI-Modloader
MIT License
69 stars 68 forks source link

Airlock spawns patches of material that it's made of if there is vacuum on its side #112

Open ddzhi1059 opened 5 years ago

ddzhi1059 commented 5 years ago

Bug Description

If airlock is toggled by dupe passing through or automation signal when there's a vaccum (or patch of the same material) on one or both its sides, a patch of material that airlock was constructed of will spawn there. After each iteration it will add mass to the already spawned patches.

Expected Behavior

Airlock should pass whoever's passing through from pressurized side onto vaccum side without spawning free resources there?

Steps to Reproduce

  1. Construct an airlock somewhere where one or both of its sides will be facing vaccum
  2. Toggle it

Possible Solution

I'm not pro enough to consider something, maybe add some check for vacuum cells or cells that have same material as an airlock?

Screenshots

Airlock bug

Output log

No errors in game log