jwvhewitt / gearhead-caramel

A coffeebreaklike set in the GearHead world.
http://gearheadrpg.com
Other
86 stars 17 forks source link

gears/__init__.py: Fix disappearing half-cannibalized mechas bug. #178

Closed AmkG closed 4 years ago

AmkG commented 4 years ago

Fixes: #126

We used to have a spurious problem where a half-cannibalized mecha with torso and/or engines missing would sometimes disappear from your party list whenever you moved between scenes.

Turns it only happened sometimes because we were treating it as a combat-destroyed mecha, and the repair roll would kick in, sometimes saving the mecha, sometimes failing the repair roll and losing the mecha.

Fix by only destroying mecha on the map.