menof36go / ttt2-utility

Provides some useful functions including a simplified convar setup and a reworked explosion system
0 stars 0 forks source link

Issue #2

Closed ThePlatinumGhost closed 3 years ago

ThePlatinumGhost commented 3 years ago

With last version of TTT2 this error appears in console while joining on server

[[TTT/2] Utility Plugin] lua/scripts/sh_addonutil.lua:22: bad argument #1 to 'pairs' (table expected, got nil)
  1. pairs - [C]:-1
   2. GetMapFiles - lua/scripts/sh_addonutil.lua:22
    3. GetMapFiles - lua/scripts/sh_addonutil.lua:23
     4. GetMapFiles - lua/scripts/sh_addonutil.lua:23
      5. GetMapFiles - lua/scripts/sh_addonutil.lua:23
       6. GetMapFiles - lua/scripts/sh_addonutil.lua:23
        7. SetupAddons - lua/scripts/sh_addonutil.lua:81
         8. unknown - lua/autorun/sh_utility_init.lua:9

I don't think this error causes something notable

ThePlatinumGhost commented 3 years ago

Using Github version the error is gone, So was the workshop version that give the error, Workshop version should be updated, Anyway I close this post