Commit d391d48
authored
Markervision: Fixed another null entity error (#1837)
This PR fixes the following error:
```
[REDACTED] Lua Error:
[TTT2 (Base) - v0.14.5b] lua/ttt2/libraries/marker_vision.lua:54: Tried to use a NULL entity!
1. AddEFlags - [C]:-1
2. Add - lua/ttt2/libraries/marker_vision.lua:54
3. callback - lua/ttt2/libraries/marker_vision.lua:230
4. func - lua/ttt2/extensions/net.lua:206
5. unknown - lua/includes/extensions/net.lua:34
```
The null entity error was introduced in
#1825 .
I tested it and I couldn't reproduce the above error again.
(I fixed a similar error in the following PR but I didn't notice the
other error: #1835 )1 parent 20c8c45 commit d391d48
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | | - | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | | - | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments