mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-26 09:38:32 +01:00
feat(entry): START GAME shows the wait-vs-drop-in choice for free games too
Previously the timing-choice modal (Start Now / Wait for Next Block) only appeared for paid-credits players; free players got a silent immediate drop-in. Now it shows whenever the game would start instantly: - Server getGameModeInfo exposes freePlayEnabled (was server-only) so the client knows free play is available even on a paid instance. - Client (inputHandler) gates the modal on free-play-available OR paid-credits-with-credits; the modal is purely a TIMING pick (auto_start vs join_queue) — payment method is unchanged. - Modal cost text reflects free play. Both waiting animations are untouched: they render on the ROT display via WaitingScreenAnimator using the base GameTiles, independent of the render-kit packs (which are disabled for SP anyway), so they work regardless of visualization style. Suite 62/435 green.
This commit is contained in:
@@ -1492,6 +1492,7 @@ class GameModeManager {
|
||||
|
||||
return {
|
||||
mode: this.gameMode,
|
||||
freePlayEnabled: !!this.freePlayEnabled, // players may choose free play even on a paid instance
|
||||
cryptoType: this.cryptoType,
|
||||
currencyLabel: this.currencyLabel, // sXMR on stagenet, XMR on mainnet, WOW for Wownero
|
||||
gameName: this.gameName, // Monerogue / Wownerogue
|
||||
|
||||
Reference in New Issue
Block a user