Fix websocket tostring name

This commit is contained in:
Alessandro Proto 2023-03-06 14:23:19 +01:00
parent 2f604f3b42
commit 9f6e54b087

View file

@ -171,11 +171,11 @@ public class WebSocketClient : IComponent
var buffer = ToObject(L); var buffer = ToObject(L);
if (buffer is not null) if (buffer is not null)
{ {
L.PushString("GPUBuffer ({0:X})", (ulong)&buffer); L.PushString("WebSocket ({0:X})", (ulong)&buffer);
} }
else else
{ {
L.PushString("GPUBuffer (closed)"); L.PushString("WebSocket (closed)");
} }
return 1; return 1;
} }