r4333 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Sep 4 07:33:07 EDT 2008


Author: div0
Date: 2008-09-04 07:33:07 -0400 (Thu, 04 Sep 2008)
New Revision: 4333

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
fix server startup bug


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-09-04 11:03:57 UTC (rev 4332)
+++ trunk/data/qcsrc/server/g_world.qc	2008-09-04 11:33:07 UTC (rev 4333)
@@ -180,6 +180,9 @@
 		head = nextent(head);
 	}
 
+	// needs to be done so early as they would still spawn
+	RegisterWeapons();
+
 	if(GotoFirstMap())
 		return;
 
@@ -238,8 +241,6 @@
 	// 63 testing
 	lightstyle(63, "a");
 
-	RegisterWeapons();
-
 	if(cvar("g_campaign"))
 		CampaignPreInit();
 




More information about the nexuiz-commits mailing list