lorserker / ben

a game engine for bridge
GNU General Public License v3.0
43 stars 31 forks source link

Undeclared variables when running random games #82

Closed ataylorappt closed 11 months ago

ataylorappt commented 11 months ago

I am running random games in docker on linux on the main branch (b9361d3368a2536d66fc70f6d6e6be432fed8220).

In the src/gameserver.py line 156: driver.set_deal(None, *rdeal, ns, ew, False)

ns and ew are both undefined causing the below error: NameError: name 'ns' is not defined

ThorvaldAagaard commented 11 months ago

Fixed, ns and ew is moved to the configuration file and it was updated everywhere else in the file. Thx for noticing