Caishangqi / TheBeaverQuests

0 stars 0 forks source link

[Bug] Player will carry the cube to next level when they carry the cube while building the dam #12

Closed Caishangqi closed 1 day ago

Caishangqi commented 1 day ago

Describe the bug The player will carry the cube to the next level when they carry the cube while building the dam, especially when they carry the cube while scene transferring.

To Reproduce Steps to reproduce the behavior:

  1. Finish the level and collect the 3 woods
  2. Carry the cube and build the dam
  3. Do not put down the cube, wait for the dam animation to finish
  4. After the scene transferring, the player will carry the previous level's cube to the current level

Expected behavior The player won't carry the cube to the next level even though the player carries the cube while building the dam

Caishangqi commented 1 day ago

Fixed https://github.com/Caishangqi/TheBeaverQuests/commit/1263880920954638500f70f3b8c1c09ef3b6a7b6