Garry's Mod

Garry's Mod

TTT Spring Mine
Lomnius 7 Feb, 2022 @ 11:41am
Fix for fatal lua error
As pointed out by Badger, this fixes the error. If you are server owner just decompile and fix locally on your server, it fixes it for all users who will join


Badger 31. Jan. 2021 um 20:44
There's a bug with this, which causes it to float in the air.
bad argument #1 to 'SetMaterial' (string expected, got userdata)

In lua\entities\ttt_spring_mine.lua
Replace
ENT.Material = Material("models/debug/debugwhite")
With
ENT.Material = "models/debug/debugwhite"