]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix the bug with multiple objects without a model being spawned from storage
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 28 Oct 2011 20:47:13 +0000 (23:47 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 28 Oct 2011 20:47:13 +0000 (23:47 +0300)
qcsrc/server/mutators/sandbox.qc

index e1f57d9de15e057a8cc257a58ac52b786ed4d33d..87298059fadf3746bfeeb4ab7a097c424d9fb763 100644 (file)
@@ -224,7 +224,7 @@ entity sandbox_ObjectPort_Load(string s, float database)
                        parent = e;
 
                i += 1;
-               if(i > n)
+               if(i >= n)
                        break;
        }