Skip to content

Commit

Permalink
yikes i made a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
GlorifiedPig committed Aug 29, 2020
1 parent 629aa0f commit 67806b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/gbatmplacer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function TOOL:RightClick( tr )
local ent = tr.Entity
if not tr.Hit or not IsValid( ent ) then return end
if ent:GetClass() == "glorifiedbanking_atm" and GlorifiedBanking.HasPermission( self:GetOwner(), "glorifiedbanking_placeatms" ) then
RunConsoleCommand( "gpe_removeent" )
self:GetOwner():ConCommand( "gpe_removeent" )
end
end

Expand Down

0 comments on commit 67806b4

Please sign in to comment.