From: Mircea Kitsune Date: Fri, 28 Oct 2011 20:47:13 +0000 (+0300) Subject: Fix the bug with multiple objects without a model being spawned from storage X-Git-Tag: xonotic-v0.6.0~35^2~18^2~65 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ca84076254f657f4a83fb1c730af8ba340810766;p=xonotic%2Fxonotic-data.pk3dir.git Fix the bug with multiple objects without a model being spawned from storage --- diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index e1f57d9de..87298059f 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -224,7 +224,7 @@ entity sandbox_ObjectPort_Load(string s, float database) parent = e; i += 1; - if(i > n) + if(i >= n) break; }