Team Spartan Cookies & Milk Forums
[Bug] @model will spam errors - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: [Bug] @model will spam errors (/thread-1670.html)



[Bug] @model will spam errors - esitee - 25-03-2016

Greetings.

Today I found some of my old e2's. I decided to try some of them out, but every chip that has a custom model set using @model will spam the following error while you hold the toolgun:

[ERROR] addons/wire/lua/wire/stools/expression2.lua:1025: attempt to call field 'IsValidModel' (a nil value)
1. GetModel - addons/wire/lua/wire/stools/expression2.lua:1025
2. Think - addons/wire/lua/wire/tool_loader.lua:179
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:197



As soon as you comment the @model out, the errors will stop. The same happend to Jay Master.

Thank you,

EisteeGolem


RE: [Bug] @model will spam errors - Person8880 - 25-03-2016

Yep, I saw and fixed this already. Server has to restart to load it though.