Photon
Photon copied to clipboard
Console Error When Turning on TKDN Lights in Custom Car
Expected Behaviour
No errors from photon when TKDN illumination is enabled
Actual Behaviour
Error
Error Messages (if any)
[Photon Lighting Engine] lua/autorun/photon/sv_emv_meta.lua:130: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. ELS_IllumOn - lua/autorun/photon/sv_emv_meta.lua:130
3. Illumination - lua/autorun/photon/sv_emv_net.lua:75
4. func - lua/autorun/photon/sv_emv_net.lua:85
5. unknown - lua/includes/extensions/net.lua:38
Steps to Reproduce
- Add TKDN to illumination in vehicle LUA file:
EMV.Sequences = {
Illumination = {
{ Name = "TKDN", Stage = "T", Components = {}, Disconnect = {} }
}
}
- Toggle by pressing
X
Details
- Source (Workshop / Github):
- Garry's Mod Beta/Branch (if not standard):
x86-64 - Chromium + 64-bit binaries