Nebual / NadmodPP

NPP - Simple Prop Protection for Garry's Mod servers
5 stars 7 forks source link

spawnmenu_reload breaks ability to open spawn menu due to Nadmod error #11

Open CheezusChrust opened 4 years ago

CheezusChrust commented 4 years ago

Went to do spawnmenu_reload to fix the stuck purple selection box in the prop menu, I had to rejoin my server after being unable to open the spawn menu after doing so. When I press Q, I get this error:

[Nadmod Prop Protection] lua/autorun/client/cl_nadmodpp.lua:141: attempt to call method 'ClearControls' (a nil value)
  1. AdminPanel - lua/autorun/client/cl_nadmodpp.lua:141
   2. v - lua/autorun/client/cl_nadmodpp.lua:261
    3. Call - lua/includes/modules/hook.lua:84
     4. Run - gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua:238
      5. unknown - gamemodes/base/gamemode/cl_spawnmenu.lua:11
       6. unknown - lua/includes/modules/concommand.lua:54