Metastruct / outfitter

Outfitter: Workshop player models for multiplayer
http://metastruct.net
13 stars 7 forks source link

Recent update pushed code containing a Lua error, breaking the addon #90

Closed ghost closed 10 months ago

ghost commented 1 year ago

Error that shows in console is:

[Outfitter: Multiplayer Playermodels!] lua/includes/modules/mdlinspect.lua:803: '=' expected near 'Tag'
  1. pcall - [C]:-1
   2. requireSH - lua/autorun/outfitter.lua:84
    3. unknown - lua/autorun/outfitter.lua:109

[Outfitter: Multiplayer Playermodels!] lua/autorun/outfitter.lua:86: attempt to concatenate global 'Tag' (a nil value)
  1. requireSH - lua/autorun/outfitter.lua:86
   2. unknown - lua/autorun/outfitter.lua:109

Looks like it's due to the requireSH function being defined and called before the local Tag variable referenced inside it

Python1320 commented 10 months ago

should be fixed