Skip to content

Commit

Permalink
oh
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian committed Mar 6, 2024
1 parent 1c79dd5 commit c41efc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lua/entities/rd_pump/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions lua/entities/rd_pump/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ list.Set("LSEntOverlayText", "rd_pump", {
HasOOO = true
})

function ENT:IsRDPump()
return true
end

0 comments on commit c41efc3

Please sign in to comment.