wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
556 stars 334 forks source link

wire_expression2_unlimited not unlimited #2625

Open Denneisk opened 1 year ago

Denneisk commented 1 year ago

Pretty obvious, https://github.com/wiremod/wire/blob/d9a05729916b20b11008282649390f42f0a9eb87/lua/entities/gmod_wire_expression2/init.lua#L20-L25 Although this limit is sufficient for almost everything, the user could always just input an even higher number than these. It's unlikely anyone would casually leave this convar enabled without knowing about its implications (and even more unlikely that anyone would make something to exploit this seeing as it's almost purely an SP/private thing), so I don't see the reason for it to still be governed.

Vurv78 commented 1 year ago

Afaik unlimited doesn't even work.

Best way I see to solve this is to set them to math.huge