resign vote can fail on comsharing squads
https://zero-k.info/Battles/Detail/2118986
In the linked game, SW resigns at 35 mins in the game. Unfortunately, this leads to some kind of strage thing where aioeieoiao gets full control of all the team's units, and the game does not end. This is apparently related to being in a party, and using comshare.
From lobby chat context, it appears to reproduce, a team has to have a squad of players that are a squad and are comshared, then when a resign vote completes, all but one player that was a part of the comshare resign, and the last player gets full control of the army.
A snippet of the infolog of the game: outfile.txt
It appears the logs are screaming about this function that handles comshare. "[Game::ClientReadNet][LOGMSG] sender="literally_everyone" string="[Internal Lua error: Call failure] [string "LuaRules/Gadgets/game_share_mode.lua"]:196: attempt to get length of local 'units' (a nil value)""