diff --git a/chat_commands/README.md b/chat_commands/README.md index 468a4a7..f8021ab 100644 --- a/chat_commands/README.md +++ b/chat_commands/README.md @@ -41,8 +41,7 @@ The player affected by the command dies and swaps to the other team. ## chat_command_freeze.gsc Toggles whether the targeted player can move or not. -Note that this does not work during the prematch period. -Also, if you unfreeze a bot the bot has to die before he starts moving again. +Note that this does not work during the prematch period. | # | Argument | Mandatory | |---|---|---| diff --git a/chat_commands/chat_command_freeze.gsc b/chat_commands/chat_command_freeze.gsc index beb2dd4..95b2cf5 100644 --- a/chat_commands/chat_command_freeze.gsc +++ b/chat_commands/chat_command_freeze.gsc @@ -48,7 +48,7 @@ ToggleFreeze(playerName) } else { - DoFreeze(false); + player DoFreeze(false); player notify("chat_commands_freeze_off"); } } @@ -62,7 +62,7 @@ ThreadFreeze() { self waittill("spawned_player"); - DoFreeze(true); + self DoFreeze(true); } }