Use EmmyLua docs

This commit is contained in:
2026-03-09 20:02:58 -05:00
parent 12a8addb7c
commit 7226e4891f
7 changed files with 2201 additions and 154 deletions

View File

@@ -24,6 +24,7 @@ function SkirmishGameClass:New(gameMode)
local function FindSpectators()
---@type SpectatorStruct[]
local spectators = {}
---@type string
local spectatorMarker = nil
if StringCompare(gameMode, "Space") then
@@ -57,6 +58,10 @@ function SkirmishGameClass:New(gameMode)
local function GetLocalSpectator()
local localPlayer = Find_Player("local")
if not localPlayer then
return false
end
return self:GetSpectator(localPlayer.Get_ID()) ~= nil
end