Skip to content

Commit

Permalink
orders.lua annotations and error elimination
Browse files Browse the repository at this point in the history
  • Loading branch information
clyfordv committed Nov 26, 2024
1 parent 5222b72 commit 9d9d7cf
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 16 deletions.
1 change: 1 addition & 0 deletions engine/User/UserUnit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
---@class UserUnit: InternalObject
---@field ThreadUnpause? thread
---@field ThreadUnpauseCandidates? table<EntityId, boolean>
---@field Dead boolean
local UserUnit = {}

---@alias UserUnitCommand
Expand Down
2 changes: 1 addition & 1 deletion lua/keymap/misckeyactions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ function CreateTemplateFactory()
end

--- Creates a sim callback to set the priorities of the selected units
---@param prioritiesString string A string of categories
---@param prioritiesString string | number A string of categories
---@param name string Name of the priority set, used when printing on screen
---@param exclusive boolean ??
function SetWeaponPriorities(prioritiesString, name, exclusive)
Expand Down
Loading

0 comments on commit 9d9d7cf

Please sign in to comment.