v0.20.4 Patch

HARWELL: Mars Industries · published · build 22753088

New Features

  • Friends system with Steam and Nakama integration — add friends, see their status (online, in-game, in-lobby), and invite them directly to games.

  • Beautiful Shadows toggle in Graphics settings for the new lighting pipeline.

  • Game end screen redesign with full-screen overlay, financial graphs (revenue, expenses, company value, profit, debt), per-resource production tables, and complete player leaderboard ranked by company value.

  • Spectate mode for eliminated players — watch the rest of the game without access to building, demolishing, or sabotage menus.

  • Expanded lobby hosting and connection flow with signal-driven status updates.

Improvements

  • Host migration now elects a new host automatically when the current host disconnects, with high priority notifications.

  • Host disconnection detection prevents players from getting stuck in zombie states.

  • Reconnect prompt now validates against live Nakama matches to prevent connecting to dead lobbies.

  • All players can now see every player's sync status, not just the host.

  • Building stats rebalanced for better economy flow.

  • Dynamic map viewport bounds computed from terrain for better rendering efficiency.

  • Notification panel enhanced for better event visibility.

  • Per-transaction price sync rate limited to prevent network flooding.

  • Building state flushes capped to prevent burst RPC traffic.

  • Stock broadcasts batched for smoother network performance.

  • AI will buy/sell stocks slightly more realistically, they won't just go for the cheapest company, they will invest in companies that are doing slightly better so they can benefit from dividends.

  • Updated the main menu background image.

Bug Fixes

  • Fixed lobby sometimes displaying as greyed out when joining.

  • Fixed players unable to join games after leaving due to version mismatch.

  • Fixed buying your own stock not actually costing money.

  • Fixed stock data resetting when a bought-out player disconnects.

  • Fixed manual wage not syncing in multiplayer.

  • Fixed long player names breaking labour tab layout.

  • Fixed housing texture missing in exported builds.

  • Fixed game won screen not showing for non-host winner.

  • Fixed building colours not refreshing when changing custom colour in stock menu.

  • Fixed bought-out and eliminated player notifications showing raw peer IDs instead of display names.

  • Fixed bought-out players being able to rejoin games.

  • Fixed SubViewport leak on map restart that was consuming memory.

  • Fixed disconnect calls that were crashing the networking layer.

  • Fixed player reconnection, requires testing but this should now allow players to reconnect if they crash or get disconnected.