Commit 9fa6434
authored
Lazy load camera subdriver only for LuaLibs 16 and greater (#2558)
The camera subdriver is only supported on LuaLibs version >= 16, and
causes issues if it's loaded on previous versions, so this commit
changes `lazy_load_if_possible` to `lazy_load`, which only attempts to
pull in the subdriver if the api version if 16 or greater.1 parent 4bce0f3 commit 9fa6434
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | 350 | | |
355 | 351 | | |
356 | 352 | | |
| |||
0 commit comments