Open rossengeorgiev opened 7 years ago
Host is unable to pick hero. Name doesn't appear on the top in the pick UI and pick/random buttons are greyed out.
Minimum lua code to replicate in addon_game_mode.lua
addon_game_mode.lua
function Activate() GameRules:SetCustomGameSetupTimeout( 0 ) GameRules:SetCustomGameSetupAutoLaunchDelay( 0 ) GameRules:EnableCustomGameSetupAutoLaunch( false ) end
Host being able to pick hero
Having GameRules:SetCustomGameSetupTimeout( 1 ) fixes the problem
GameRules:SetCustomGameSetupTimeout( 1 )
What happens
Host is unable to pick hero. Name doesn't appear on the top in the pick UI and pick/random buttons are greyed out.
Minimum lua code to replicate in
addon_game_mode.lua
Expected
Host being able to pick hero
Workarounds
Having
GameRules:SetCustomGameSetupTimeout( 1 )
fixes the problem