From 5512b88b705f29dcf9576cb06cc87a5219bbf0c3 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Sun, 30 Oct 2011 12:07:02 +0200 Subject: [PATCH] Don't srzone message and message2 together, which was causing another bug. Object information should now be stored properly. --- qcsrc/server/mutators/sandbox.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 2de78651f..ff59b393d 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -130,7 +130,8 @@ entity sandbox_ObjectSpawn(float database) // set public object information e.netname = strzone(self.netname); // name of the owner - e.message = e.message2 = strzone(strftime(TRUE, "%d-%m-%Y %H:%M:%S")); // creation and edit time + e.message = strzone(strftime(TRUE, "%d-%m-%Y %H:%M:%S")); // creation time + e.message2 = strzone(strftime(TRUE, "%d-%m-%Y %H:%M:%S")); // last editing time // set origin and direction based on player position and view angle makevectors(self.v_angle); @@ -608,7 +609,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) return TRUE; } - // update last edit time + // update last editing time if(e.message2) strunzone(e.message2); e.message2 = strzone(strftime(TRUE, "%d-%m-%Y %H:%M:%S")); -- 2.39.2