]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only being allowed to edit your own objects is now a default behavior
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 27 Oct 2011 17:17:07 +0000 (20:17 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 27 Oct 2011 17:17:07 +0000 (20:17 +0300)
qcsrc/server/mutators/sandbox.qc

index 187debff46164e60573e1680dcb7f0c13747a5a0..51c14b05aead2fc257bbe669612f0ce0e795e24f 100644 (file)
@@ -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 ----------------