Commit 97bfe3a
authored
Fix lua error (#3646)
Fixes:
```
- lua/autorun/server/sv_cpp.lua:7: attempt to index a nil value
1. GetOwner - lua/autorun/server/sv_cpp.lua:7
2. CanTool - lua/autorun/sh_cpp.lua:5
3. RightClick - addons/wire/lua/wire/stools/hydraulic.lua:181
4. <unknown> - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:273
```
Not prop protection issue, it's because WireLib.CanTool pushes NULL ent1 parent b899731 commit 97bfe3a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments