apetavern / grubs

A worms-inspired artillery game for s&box with randomly generated levels.
MIT License
29 stars 7 forks source link

NRE on RopeBehavior #417

Closed cs716 closed 2 weeks ago

cs716 commented 4 weeks ago

System.NullReferenceException: Object reference not set to an instance of an object. at Grubs.Helpers.RopeBehavior.DrawRope() in Helpers/RopeBehavior.cs:line 133 at Grubs.Helpers.RopeBehavior.OnUpdate() in Helpers/RopeBehavior.cs:line 47 at Sandbox.Component.ExceptionWrap(String name, Action a)

cs716 commented 3 weeks ago

Not sure why this would be null .. Here is the referenced line image

DrewBritt commented 2 weeks ago

https://github.com/apetavern/grubs/commit/213f71e84a0b3d798c9fdbafe790ad1d9b36959b