Commands: fixed crash if description wasn't specified

This commit is contained in:
bi 2018-06-08 14:28:05 +03:00
parent 977ec7558f
commit fcb0b570d8

View file

@ -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