From: Mircea Kitsune Date: Thu, 27 Oct 2011 17:17:07 +0000 (+0300) Subject: Only being allowed to edit your own objects is now a default behavior X-Git-Tag: xonotic-v0.6.0~35^2~18^2~109 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e7929b8299341d03df1ba0d1333a12991cadc33;p=xonotic%2Fxonotic-data.pk3dir.git Only being allowed to edit your own objects is now a default behavior --- diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 187debff4..51c14b05a 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -296,7 +296,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) return TRUE; } - print_to(self, "WARNING: Object could not be removed. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Object could not be removed. Make sure you are facing an object that belongs to you (default)"); return TRUE; // ---------------- COMMAND: DUPLICATE OBJECT COPY ---------------- @@ -314,7 +314,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) return TRUE; } - print_to(self, "WARNING: Object could not be copied. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Object could not be copied. Make sure you are facing an object that belongs to you (default)"); return TRUE; // ---------------- COMMAND: DUPLICATE OBJECT PASTE ---------------- @@ -354,7 +354,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) print_to(self, "Object selected for attachment"); return TRUE; } - print_to(self, "WARNING: Object could not be selected for attachment. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Object could not be selected for attachment. Make sure you are facing an object that belongs to you (default)"); return TRUE; case "set": if(self.object_attach == world) @@ -372,7 +372,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) self.object_attach = world; // object was attached, no longer keep it scheduled for attachment return TRUE; } - print_to(self, "WARNING: Object could not be attached to the parent. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Object could not be attached to the parent. Make sure you are facing an object that belongs to you (default)"); return TRUE; case "remove": // removes e if it was attached @@ -383,7 +383,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) print_to(self, "Child objects detached successfully"); return TRUE; } - print_to(self, "WARNING: Child objects could not be detached. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Child objects could not be detached. Make sure you are facing an object that belongs to you (default)"); return TRUE; } return TRUE; @@ -448,7 +448,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) return TRUE; } - print_to(self, "WARNING: Object could not be edited. Make sure you are facing an object that belongs to you"); + print_to(self, "WARNING: Object could not be edited. Make sure you are facing an object that belongs to you (default)"); return TRUE; // ---------------- COMMAND: DEFAULT ----------------