vanillastudios-gmod / issues

report problems you have with vanilla: Half-Life 2 Roleplay
3 stars 0 forks source link

Bandana bug #164

Closed Le-BoN closed 1 year ago

Le-BoN commented 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:

  1. Get bandana
  2. Equip bandana
  3. Unequip bandana
  4. Inventory break

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)

  1. MakeCosmetic - gamemodes/impulse/plugins/cosmetic/cl_cosmetic.lua:8
    1. v - gamemodes/impulse/plugins/cosmetic/cl_cosmetic.lua:157
    2. unknown - lua/includes/modules/hook.lua:96 (x2)

Additional context Add any other context about the problem here.

notandy78 commented 1 year ago

Fixed