Skip to content

Commit

Permalink
Fix SetPropIntArray
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyTalis committed Nov 4, 2023
1 parent f340c34 commit 295b743
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -18,3 +18,4 @@ Sublime Text support exists in this repo, but should be considered unmaintained.
- Zachary Talis
- treacherousfiend
- Chillax
- talascio
2 changes: 1 addition & 1 deletion defs.txt
Expand Up @@ -2223,7 +2223,7 @@ void SetPropInt(handle entity, string propertyName, int value)
Sets a netprop to the specified integer.

SetPropIntArray
void SetPropInt(handle entity, string propertyName, int value, int arrayElement)
void SetPropIntArray(handle entity, string propertyName, int value, int arrayElement)
Sets a netprop from an array to the specified integer.

SetPropString
Expand Down
6 changes: 3 additions & 3 deletions squirrel.json
Expand Up @@ -8001,10 +8001,10 @@
],
"description": "Sets a netprop to the specified integer."
},
"void SetPropInt(handle entity, string propertyName, int value, int arrayElement)": {
"prefix": "SetPropInt",
"void SetPropIntArray(handle entity, string propertyName, int value, int arrayElement)": {
"prefix": "SetPropIntArray",
"body": [
"SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0"
"SetPropIntArray(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0"
],
"description": "Sets a netprop from an array to the specified integer."
},
Expand Down
6 changes: 3 additions & 3 deletions tf2-snippets.sublime-completions
Expand Up @@ -8003,9 +8003,9 @@
"details": "Sets a netprop to the specified integer."
},
{
"trigger": "SetPropInt",
"annotation": "void SetPropInt(handle entity, string propertyName, int value, int arrayElement)",
"contents": "SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0",
"trigger": "SetPropIntArray",
"annotation": "void SetPropIntArray(handle entity, string propertyName, int value, int arrayElement)",
"contents": "SetPropIntArray(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0",
"kind": "keyword",
"details": "Sets a netprop from an array to the specified integer."
},
Expand Down

0 comments on commit 295b743

Please sign in to comment.