Commit 6448db5
authored
Push flags in RenderOverride for FLIR (#3578)
If any other RenderOverride uses flags, a nil error will occur:
```
- gamemodes/sandbox/entities/effects/propspawn.lua:106: bad argument #1 to 'band' (number expected, got nil)
1. band - [C]:-1
2. BackupRenderOverride - gamemodes/sandbox/entities/effects/propspawn.lua:106
3. <unknown> - addons/wire/lua/wire/flir.lua:53
4. DrawModel - [C]:-1
5. <unknown> - addons/wire/lua/wire/flir.lua:139
6. <unknown> - addons/hook-library/lua/includes/modules/hook.lua:313
```1 parent b34d6c0 commit 6448db5
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments