Ryan6578 / Codewords

A LUA script for Codewords on Tabletop Simulator for Steam.
https://ryan6578.com
GNU General Public License v3.0
29 stars 16 forks source link

fix "always true" boolean statement #95

Closed Canonelis closed 2 years ago

Canonelis commented 2 years ago

"seated" is always true for player instances retrieved from getPlayers() which is the case in this line. The seated variable is only useful for player instances created by "Player[color]" syntax to check if there is a player seated in a specific colour.