diff --git a/gamemodes/zombiesurvival/gamemode/obj_player_extend.lua b/gamemodes/zombiesurvival/gamemode/obj_player_extend.lua index 058788d..5e9495c 100644 --- a/gamemodes/zombiesurvival/gamemode/obj_player_extend.lua +++ b/gamemodes/zombiesurvival/gamemode/obj_player_extend.lua @@ -421,8 +421,14 @@ function meta:ShouldBarricadeGhostWith(ent) end function meta:BarricadeGhostingThink() - if self:KeyDown(IN_ZOOM) or self:ActiveBarricadeGhosting() then return end - + if self:KeyDown(IN_ZOOM) or self:ActiveBarricadeGhosting() then + if self.FirstGhostThink then + self:SetLocalVelocity( Vector( 0, 0, 0 ) ) + self.FirstGhostThink = false + end + return + end + self.FirstGhostThink = true self:SetBarricadeGhosting(false) end