Describe the bug
whenever i try to use something with force in it (wire vector thrusters, wire thrusters, wire forcers...), i get an error complaining about a missing 'max' argument.
however, ordinary vanilla gmod thrusters work fine.
How to reproduce the bug
the way i have reproduced the bug is to make a vector thruster try to go anywhere,
it has been shown to happen on both linux x64 and windows default branch
[Wiremod] lua/includes/extensions/math.lua:54: bad argument #2 to 'max' (number expected, got nil)
1. max - [C]:-1
2. clamp - lua/includes/extensions/math.lua:54
3. clampForce - lua/wire/wireshared.lua:1024
4. CalcForce - lua/entities/gmod_wire_vectorthruster.lua:170
5. unknown - lua/entities/gmod_wire_vectorthruster.lua:280
Describe the bug
whenever i try to use something with force in it (wire vector thrusters, wire thrusters, wire forcers...), i get an error complaining about a missing 'max' argument.
however, ordinary vanilla gmod thrusters work fine.
How to reproduce the bug
the way i have reproduced the bug is to make a vector thruster try to go anywhere,
it has been shown to happen on both linux x64 and windows default branch
[Wiremod] lua/includes/extensions/math.lua:54: bad argument #2 to 'max' (number expected, got nil)
1. max - [C]:-1
2. clamp - lua/includes/extensions/math.lua:54
3. clampForce - lua/wire/wireshared.lua:1024
4. CalcForce - lua/entities/gmod_wire_vectorthruster.lua:170
5. unknown - lua/entities/gmod_wire_vectorthruster.lua:280