Added some obvious errors explanations
This commit is contained in:
@ -107,7 +107,7 @@ Error PCKPacker::add_file(const String &p_file, const String &p_src) {
|
||||
|
||||
Error PCKPacker::flush(bool p_verbose) {
|
||||
|
||||
ERR_FAIL_COND_V(!file, ERR_INVALID_PARAMETER);
|
||||
ERR_FAIL_COND_V_MSG(!file, ERR_INVALID_PARAMETER, "File must be opened before use.");
|
||||
|
||||
// write the index
|
||||
|
||||
|
||||
Reference in New Issue
Block a user