Skip to content

Commit

Permalink
Fix CDOTA_Item.LaunchLoot (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
robincodex authored Sep 19, 2023
1 parent 8314553 commit 8d09190
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/vscripts/api/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,11 @@ export const functionExtensions: Record<string, ExtensionFunction> = {
1: ['to_angle'],
},
},
'CDOTA_Item.LaunchLoot': {
args: {
4: ['teleportOwner', ['CDOTA_BaseNPC_Hero', 'nil']],
},
},
};

export const extraDeclarations = (() => {
Expand Down
3 changes: 2 additions & 1 deletion files/vscripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -13305,7 +13305,8 @@
{
"name": "teleportOwner",
"types": [
"handle"
"CDOTA_BaseNPC_Hero",
"nil"
]
}
]
Expand Down

0 comments on commit 8d09190

Please sign in to comment.