Assert row lookups and narrow force and style reads

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassie
2026-08-07 15:31:43 +00:00
co-authored by Claude Opus 5
parent 0b31a70801
commit f9ce3c4145
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ local function on_player_created(event)
if config.resource_patches.enabled then create_resource_patches(surface, offset) end
if config.turrets.enabled then update_turrets() end
player.force.set_spawn_position(offset, surface)
(player.force --[[@as LuaForce]]).set_spawn_position(offset, surface)
player.teleport(offset, surface)
end