From: Mircea Kitsune Date: Sun, 30 Oct 2011 10:07:02 +0000 (+0200) Subject: Don't srzone message and message2 together, which was causing another bug. Object... X-Git-Tag: xonotic-v0.6.0~35^2~18^2~25 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5512b88b705f29dcf9576cb06cc87a5219bbf0c3;p=xonotic%2Fxonotic-data.pk3dir.git Don't srzone message and message2 together, which was causing another bug. Object information should now be stored properly. --- 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"));