12-03-2019, 12:55 PM
(This post was last modified: 09-01-2022, 01:08 AM by Fearless Community.
Edit Reason: Fixed Encoding
)
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
Evidence:
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
Evidence:
Code:
[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