Closed Le-BoN closed 1 year ago
Describe the bug Equipping a bandana fucks up the inventory system (client side) forcing a rejoin
To reproduce Steps to reproduce the behaviour:
Expected behaviour Inventory not to break
Screenshots If applicable, add screenshots to help explain your problem. https://medal.tv/games/garrys-mod/clips/KllgJOdMpXOHH/d13379CpRlKK?invite=cr-MSxXaEMsMTM1NzE5NzUs Schema version (press F1 in the bottom right): 1.6 Lua error If applicable, post the error here in full. [ERROR] gamemodes/impulse/plugins/cosmetic/cl_cosmetic.lua:8: attempt to index local 'data' (a nil value)
Additional context Add any other context about the problem here.
Fixed
Describe the bug Equipping a bandana fucks up the inventory system (client side) forcing a rejoin
To reproduce Steps to reproduce the behaviour:
Expected behaviour Inventory not to break
Screenshots If applicable, add screenshots to help explain your problem. https://medal.tv/games/garrys-mod/clips/KllgJOdMpXOHH/d13379CpRlKK?invite=cr-MSxXaEMsMTM1NzE5NzUs Schema version (press F1 in the bottom right): 1.6 Lua error If applicable, post the error here in full. [ERROR] gamemodes/impulse/plugins/cosmetic/cl_cosmetic.lua:8: attempt to index local 'data' (a nil value)
Additional context Add any other context about the problem here.