rebel1324 / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.net
MIT License
65 stars 31 forks source link

Zero inventory bug on update (1.1-beta) #234

Closed ts-co closed 6 years ago

ts-co commented 6 years ago

Every time you update a file in the gamemode while the game is running this error appears:

[ERROR] gamemodes/nutscript/gamemode/core/meta/sh_inventory.lua:13: attempt to index local 'zeroInv' (a nil value)
  1. unknown - gamemodes/nutscript/gamemode/core/meta/sh_inventory.lua:13
   2. include - [C]:-1
    3. unknown - gamemodes/nutscript/gamemode/core/libs/sh_item.lua:138
     4. include - [C]:-1
      5. includeDir - gamemodes/nutscript/gamemode/core/sh_util.lua:62
       6. unknown - gamemodes/nutscript/gamemode/shared.lua:53
        7. include - [C]:-1
         8. unknown - gamemodes/nutscript/gamemode/cl_init.lua:8
          9. DeriveGamemode - [C]:-1
           10. unknown - gamemodes/metro/gamemode/cl_init.lua:1