fix #116: void card is now again being recognized

This commit is contained in:
betalars 2025-04-30 16:29:01 +02:00
parent 3de41e6fc8
commit e6f8e22d2d
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func pick(id: int):
var winning_id var winning_id
print(options[1].text) print(options[1].text)
if !(options[1].text == "" and not id == 1): if !(options[1].text == "void" and not id == 1):
randomize() randomize()
winning_id = randi() % options.size() winning_id = randi() % options.size()