소스 검색

Merge pull request #68131 from benbusby/hotfix/zippacker_null_check

Remove `zf != NULL` check from `ZIPPacker::start_file`
Rémi Verschelde 2 년 전
부모
커밋
2fd2a04efc
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      modules/zip/zip_packer.cpp

+ 0 - 1
modules/zip/zip_packer.cpp

@@ -50,7 +50,6 @@ Error ZIPPacker::close() {
 }
 
 Error ZIPPacker::start_file(String p_path) {
-	ERR_FAIL_COND_V_MSG(zf != NULL, FAILED, "ZIPPacker is already in use.");
 	ERR_FAIL_COND_V_MSG(fa.is_null(), FAILED, "ZIPPacker must be opened before use.");
 
 	zip_fileinfo zipfi;