Skip to content

Commit

Permalink
Add the command identifier to GetHighlightCommand
Browse files Browse the repository at this point in the history
This allows us to interact with the command with other UI functions.
  • Loading branch information
4z0t authored Sep 27, 2024
1 parent 9c0a6be commit 80c1e9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions section/GetHighlightCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ int UIGetHighlightCommand(lua_State *L) {
lua_push(L, "x", command->pos.x);
lua_push(L, "y", command->pos.y);
lua_push(L, "z", command->pos.z);
lua_push(L, "commandId", commandId);
auto targetId = command->targetId;
if (targetId != 0xF0000000) {
char buf[16];
Expand Down

0 comments on commit 80c1e9f

Please sign in to comment.