Type of bug: lua
Description of the bug: Type "-" in the amount on delivery app and it will give a script error.
How to reproduce the bug: ^
Time stamp(s): N/A
*Errors:
[ERROR] lua/includes/extensions/math.lua:40: bad argument #1 to 'max' (number expected, got string)
1. max - [C]:-1
2. Clamp - lua/includes/extensions/math.lua:40
3. fnEnter - gamemodes/perp/gamemode/modules/deliveryshop/gui/delivery_buttons.lua:45
4. OnEnter - gamemodes/perp/gamemode/modules/guicore/general/derma_utils_fix.lua:203
5. unknown - lua/vgui/dtextentry.lua:79
*Media:
Description of the bug: Type "-" in the amount on delivery app and it will give a script error.
How to reproduce the bug: ^
Time stamp(s): N/A
*Errors:
[ERROR] lua/includes/extensions/math.lua:40: bad argument #1 to 'max' (number expected, got string)
1. max - [C]:-1
2. Clamp - lua/includes/extensions/math.lua:40
3. fnEnter - gamemodes/perp/gamemode/modules/deliveryshop/gui/delivery_buttons.lua:45
4. OnEnter - gamemodes/perp/gamemode/modules/guicore/general/derma_utils_fix.lua:203
5. unknown - lua/vgui/dtextentry.lua:79
*Media:
Gyazo
gyazo.com
Upvote
0