mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-08-13 00:45:11 +09:00
Correct partial table types
`_display_data` is a cache keyed by force name, not a single record. The auto complete accumulator starts empty, so its fields are optional. Game commands have no usage beyond their own help text. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,8 @@ local function get_player_cache(player_index)
|
||||
|
||||
-- Create a new cache if the previous on is in use
|
||||
if not cache or cache.task and not cache.task.completed then
|
||||
cache = {} --[[@as any]]
|
||||
--- @diagnostic disable-next-line: missing-fields
|
||||
cache = {} --[[@as TreeDeconCache]]
|
||||
end
|
||||
|
||||
local player = assert(game.get_player(player_index))
|
||||
|
||||
Reference in New Issue
Block a user