Fearless Forums

Full Version: Precision tool bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Title of Bug: Precision tool bug

Description: The precision isn't working as it worked before. When selecting the tool you would've a whole menu (Picture 1). When using the tool now, the whole menu is missing (Picture 2). When you have joined the server for the first time it also prints an error message.

Picture 1 = https://i.imgur.com/LVrPuWR.png
Picture 2 = https://i.imgur.com/NTerZwj.png


[ERROR] addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1345: attempt to call method 'GetInfoNum' (a nil value)
  1. AddDefControls - addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1345
   2. func - addons/precision/lua/weapons/gmod_tool/stools/precision.lua:1789
    3. FillViaFunction - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:100
     4. FillViaTable - gamemodes/sandbox/gamemode/spawnmenu/controlpanel.lua:89
      5. ActivateTool - lua/includes/modules/spawnmenu.lua:287
       6. unknown - gamemodes/sandbox/gamemode/spawnmenu/toolpanel.lua:132
precision_defaultrestore in console fixes this Smile
(12-03-2019, 01:29 PM)Forgee Wrote: [ -> ]precision_defaultrestore in console fixes this Smile

Will try that out once I am online.
(12-03-2019, 01:29 PM)Forgee Wrote: [ -> ]precision_defaultrestore in console fixes this Smile
This was working, thanks.
This bug should no longer persist and console command "precision_defaultrestore" can fix this.