drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.27k stars 55 forks source link

[ERROR] modules/gdscript/gdscript_functions.cpp:774 call: Piece stacks/{number} has an empty 'pieces' array! #163

Closed GrimPixel closed 1 year ago

GrimPixel commented 1 year ago

Describe the bug [ERROR] modules/gdscript/gdscript_functions.cpp:774 call: Piece stacks/{number} has an empty 'pieces' array!

To Reproduce

  1. Load “Poker”
  2. Throw some tokens
  3. Click on “Undo”

Expected behavior Table is cleared.

Screenshots ksnip_20221203-180204

Environment Arch Linux

Version v0.1.0 beta

drwhut commented 1 year ago

Note: to replicate the issue, one needs to throw tokens from a stack until only one token remains in the stack.