prevent draw effect for being consumed if no cards can be drawn

This commit is contained in:
2024-05-02 23:27:39 +02:00
parent 53f94a6bb1
commit ce52c1ecac
+1 -1
View File
@@ -141,7 +141,7 @@ class Player(Serializable):
if len(self.stack_pile) == 0:
if len(self.discard_pile) == 0:
print("No more cards to draw !")
break
return False
await self._rebuild_stack()
if len(self.stack_pile) > 0: