Differential D3082 Diff 13833 binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/Panels/Buttons/StartGameButton.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/Panels/Buttons/StartGameButton.js
Show All 24 Lines | onLoad() | ||||
this.startGameButton.hidden = !g_IsController; | this.startGameButton.hidden = !g_IsController; | ||||
for (let handler of this.buttonHiddenChangeHandlers) | for (let handler of this.buttonHiddenChangeHandlers) | ||||
handler(); | handler(); | ||||
} | } | ||||
update() | update() | ||||
{ | { | ||||
let isEveryoneReady = this.isEveryoneReady(); | let isEveryoneReady = this.isEveryoneReady(); | ||||
this.startGameButton.enabled = !this.gameStarted && isEveryoneReady; | this.startGameButton.enabled = true;//!this.gameStarted && isEveryoneReady; | ||||
Lint: ESLintBear (spaced-comment): `Expected space or tab after '//' in comment.` | |||||
wraitiiAuthorUnsubmitted Done Inline Actionsforgot to remove that wraitii: forgot to remove that | |||||
this.startGameButton.tooltip = | this.startGameButton.tooltip = | ||||
!g_IsNetworked || isEveryoneReady ? | !g_IsNetworked || isEveryoneReady ? | ||||
this.ReadyTooltip : | this.ReadyTooltip : | ||||
this.ReadyTooltipWaiting; | this.ReadyTooltipWaiting; | ||||
} | } | ||||
isEveryoneReady() | isEveryoneReady() | ||||
{ | { | ||||
Show All 30 Lines |
Wildfire Games · Phabricator
Expected space or tab after '//' in comment.