Canceling a deconstruction does not use refunded materials while paused.

Fixed Bad behavior
Azoron11 [github] · 4 years ago

Issue description

While the game is paused, deconstructing a building with the unity tool will refund the materials to the shipyard. As long as the game remains paused and no progress is made on the actual deconstruction canceling the deconstruction does not use any materials. This results in a exploit for free materials.

Expected behavior

Refunded materials removed from shipyard.

Reproduction steps

  1. Pause game.
  2. Mark building for deconstruction.
  3. Use unity tool to refund full material cost to shipyard.
  4. While still paused and building construction status still at "ready", cancel the deconstruction.
  5. Unpause game,
  6. Building will be restored without the using the cost of materials resulting in free materials in shipyard.

Game version

v0.4.10

Attachments

20220825235156_1
20220825235110_1
20220825235128_1
20220825235136_1
20220825235143_1

Captain Filip Captain Filip · 3 years ago

Thanks for your report! This has been fixed in our previous patch.

Closed as ✅ Fixed

9 Showing 1–2 of 2