From ec815918fc480e67dd0463463c4069087df3b523 Mon Sep 17 00:00:00 2001 From: Name Date: Sat, 18 Jan 2025 15:28:52 +0100 Subject: [PATCH] Fix Wirelink.isValid --- lua/starfall/libs_sv/wire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/starfall/libs_sv/wire.lua b/lua/starfall/libs_sv/wire.lua index f2c787ba6..ef4b04fe1 100644 --- a/lua/starfall/libs_sv/wire.lua +++ b/lua/starfall/libs_sv/wire.lua @@ -746,7 +746,7 @@ end --- Checks if a wirelink is valid. (ie. doesn't point to an invalid entity) -- @return boolean Whether the wirelink is valid function wirelink_methods:isValid() - return wlunwrap(self):Ent_IsValid() + return Ent_IsValid(wlunwrap(self)) end --- Returns current state of the specified input