Skip to content

Commit

Permalink
retarded fix but maybe it will work
Browse files Browse the repository at this point in the history
  • Loading branch information
GlorifiedPig committed Aug 27, 2020
1 parent 4fe00aa commit 629aa0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/sh_glorifiedbanking_autoincluder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

GlorifiedBanking = GlorifiedBanking or {
Config = {},
Version = "2.5.10"
Version = "2.5.11"
}

print( "[GlorifiedBanking] This server is running version " .. GlorifiedBanking.Version .. "." )
Expand Down
3 changes: 1 addition & 2 deletions lua/weapons/gmod_tool/stools/gbatmplacer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +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
GlorifiedPersistentEnts.RemoveEntityFromDB( ent )
SafeRemoveEntity( ent )
RunConsoleCommand( "gpe_removeent" )
end
end

Expand Down

0 comments on commit 629aa0f

Please sign in to comment.