wiremod/wire

wirelink:egpAngle(index,number) behaving unexpectedly when used on wirelink:egpLine(index,vector2,vector2)

dstmnaki opened this issue · 0 comments

Describe the bug
When the function wirelink:egpAngle(index,number) is used on an egpLine it gives lua errors

[EGP] Umsg error. It seems another umsg is already sending, but it occured over 1 second ago. Ending umsg.Tried to end EGP net message outside of net context?
[wire-master] Warning! A net message (EGP_Transmit_Data) is already started! Discarding in favor of the new message! (wire_clienterror)

  1. ClientError - addons/wire-master/lua/wire/wireshared.lua:303
  2. Error - addons/wire-master/lua/entities/gmod_wire_expression2/init.lua:305
    3. PCallHook - addons/wire-master/lua/entities/gmod_wire_expression2/init.lua:294
    4. Execute - addons/wire-master/lua/entities/gmod_wire_expression2/init.lua:154
    5. Setup - addons/wire-master/lua/entities/gmod_wire_expression2/init.lua:541
    6. func - addons/wire-master/lua/wire/stools/expression2.lua:441
    7. unknown - lua/includes/extensions/net.lua:38

addons/wire-master/lua/entities/gmod_wire_egp/lib/egplib/usefulfunctions.lua:193: bad argument #1 to 'WriteInt' (number expected, got nil)

To Reproduce
Just use the function on an egp line

Expected behavior
Line to rotate said amount

Screenshots
The issue should be explained clearly enough