From 72ec302a6fbd73f736dadcc7b7c66e0326a7a7ad Mon Sep 17 00:00:00 2001 From: Jonathan Baumgardner Date: Mon, 12 Mar 2018 22:41:19 -0500 Subject: [PATCH] Update cheat-mode.lua --- Addons/Commands/cheat-mode.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Addons/Commands/cheat-mode.lua b/Addons/Commands/cheat-mode.lua index a53ac99d..693255ab 100644 --- a/Addons/Commands/cheat-mode.lua +++ b/Addons/Commands/cheat-mode.lua @@ -8,8 +8,8 @@ Discord: https://discord.gg/r6dC2uK ]] --Please Only Edit Below This Line----------------------------------------------------------- -commands.add_command('cheat-mode', 'Toggles cheat mode for a player', {'player'}, function(event,args) +commands.add_command('cheat-mode', 'Toggles cheat mode for a player.', {'player'}, function(event,args) local player = Game.get_player(args.player) if not player then player_return({'commands.invalid-player',args.player}) return commands.error end if player.cheat_mode == true then player.cheat_mode = false else player.cheat_mode = true end -end) \ No newline at end of file +end)