Skip to content

Fix game loop CPU API references#210

Open
junaga wants to merge 1 commit into
screeps:masterfrom
junaga:agent/fix-game-loop-cpu-api-links
Open

Fix game loop CPU API references#210
junaga wants to merge 1 commit into
screeps:masterfrom
junaga:agent/fix-game-loop-cpu-api-links

Conversation

@junaga

@junaga junaga commented Jul 20, 2026

Copy link
Copy Markdown

What changed

Update the game-loop article to use the current Game.cpu.limit property and Game.cpu.getUsed method.

Why

The article still referenced the removed Game.cpuLimit and Game.getUsedCpu APIs, producing two broken links and directing players to obsolete names.

Validation

  • Confirmed both target declarations in api/source/Cpu.md
  • Generated the docs with the repository's Node 10 build environment
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants