photonle / Photon-v2

Photon 2 for Garry's Mod
Other
16 stars 4 forks source link

Photon LE compatibility stopped working #7

Closed thejaviertc closed 8 months ago

thejaviertc commented 8 months ago

Since this commit a545023, now every time you spawn a Photon LE vehicle, appears without skin, lights... (basically all Photon funcionality) and this error appears:

[photon-v2] stack overflow
  1. __index - [C]:-1
   2. IsValid - lua/includes/util.lua:229
    3. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:19
     4. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
      5. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
       6. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
        7. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
         8. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
          9. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
           10. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
            11. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
             12. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
              13. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
               14. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
                15. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21
                 16. SpawnedVehicle - addons/photon-v2/lua/photon-v2/sv_init.lua:21

Timer Failed! [119-PHOTON-34.514999389648][@lua/autorun/photon/sh_photon_vehicles.lua (line 34)]

The previous commit works normally.

ischmal commented 8 months ago

Whoops, yeah that was my bad. Should be working now. Thanks for the report.