From c41efc3635885fadb69ccc77e7a7397db2aa870e Mon Sep 17 00:00:00 2001 From: Doridian Date: Tue, 5 Mar 2024 16:09:26 -0800 Subject: [PATCH] oh --- lua/entities/rd_pump/init.lua | 2 +- lua/entities/rd_pump/shared.lua | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/entities/rd_pump/init.lua b/lua/entities/rd_pump/init.lua index 7b8d7b8..3c16d2b 100644 --- a/lua/entities/rd_pump/init.lua +++ b/lua/entities/rd_pump/init.lua @@ -94,7 +94,7 @@ function ENT:LinkToPump(ply, ent) return false, "You are not allowed to control this pump!" end - if not (IsValid(ent) and ent.IsRDPump and ent:IsRDPump()) then + if not (IsValid(ent) and ent.IsPump) then return false, "The other entity is not a pump" end diff --git a/lua/entities/rd_pump/shared.lua b/lua/entities/rd_pump/shared.lua index b7e6634..c9b916a 100644 --- a/lua/entities/rd_pump/shared.lua +++ b/lua/entities/rd_pump/shared.lua @@ -14,6 +14,3 @@ list.Set("LSEntOverlayText", "rd_pump", { HasOOO = true }) -function ENT:IsRDPump() - return true -end