From 410f8fe43b7ccc3187bb4c59615d04e8a7c6aaf1 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Fri, 28 Oct 2011 18:23:12 +0300 Subject: [PATCH] Actually, do update the database when there are no objects. Otherwise deleting all objects would no longer update it --- qcsrc/server/mutators/sandbox.qc | 3 --- 1 file changed, 3 deletions(-) diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index ddcdf0a75..e9fbfba24 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -200,9 +200,6 @@ void sandbox_ObjectPort_Load(entity e, string s, float database) void sandbox_DatabaseSave() { // saves all objects to the database file - if(!object_count) - return; // nothing to store - entity head; float get_file; -- 2.39.2