Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ZIP vendor #3057

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Client/mods/deathmatch/logic/CClientEntity.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ enum eClientEntityType
CCLIENTCOLSHAPE,
CCLIENTDUMMY, // anything user-defined
SCRIPTFILE,
ZIPFILE,
CCLIENTDFF,
CCLIENTCOL,
CCLIENTTXD,
Expand Down
1 change: 1 addition & 0 deletions Server/mods/deathmatch/logic/CElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class CElement
PED,
COLSHAPE,
SCRIPTFILE,
ZIPFILE,
WATER,
WEAPON,
DATABASE_CONNECTION,
Expand Down
2 changes: 1 addition & 1 deletion Server/mods/deathmatch/logic/CGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4351,7 +4351,7 @@ void CGame::HandleBackup()
// Delete previous temp zip if any
FileDelete(strTempZip);

CZipMaker zipMaker(strTempZip);
CZipMaker zipMaker(strTempZip, CZipMaker::Mode::WRITE);
if (!zipMaker.IsValid())
return; // Can't do backup as can't create target zip

Expand Down
Loading
Loading