Commands: fixed crash if description wasn't specified
This commit is contained in:
parent
977ec7558f
commit
fcb0b570d8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ VMFMod.command = function (self, command_name, command_description, command_func
|
|||
_commands[command_name] = {
|
||||
mod = self,
|
||||
exec_function = command_function,
|
||||
description = command_description,
|
||||
description = command_description or "",
|
||||
is_enabled = true
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue