Skip to content

Commit

Permalink
Fixed PR #1119
Browse files Browse the repository at this point in the history
  • Loading branch information
robotboy655 committed Mar 23, 2016
1 parent 00a1835 commit 7a34fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garrysmod/gamemodes/base/gamemode/player_shd.lua
Expand Up @@ -106,7 +106,7 @@ end
the player is allowed to noclip, false to block
-----------------------------------------------------------]]
function GM:PlayerNoClip( pl, on )
if ( !on ) return true end
if ( !on ) then return true end
-- Allow noclip if we're in single player and living
return game.SinglePlayer() && IsValid( pl ) && pl:Alive()
Expand Down

1 comment on commit 7a34fa5

@Kefta
Copy link
Contributor

@Kefta Kefta commented on 7a34fa5 Mar 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry

Please sign in to comment.