Wire_Render performance improvement#3584
Conversation
|
Not tested btw |
|
I made some more optimizations/styling of the code, i think it's now fine (tested, works fine) |
|
Ok, just make sure to give a quick test to make sure it doesn't error |
|
I went ahead and replaced the blink timer as well since it'll only be calculated for one entity given by the ent_GetNWString. I think the ent_GetNWString is a bug btw. It should probably be ent_GetNWBool |
Yes, this is a mistake, it should be GetNWBool, or even better, do it through NW2 |
|
It turns out this isn't even a networked value, it's only set on the client |
|
I see how it works actually, it was getting set to the port name to blink. |
|
Also fixed the issue where the wires weren't blinking after changing from a timer to a check in the rendering function |
No description provided.