From eacc6ff396af72fb4e2382fa187e52b96501ee14 Mon Sep 17 00:00:00 2001
From: Mario <mario@smbclan.net>
Date: Sat, 11 Jun 2016 20:36:06 +1000
Subject: [PATCH] Fix argument number, hopefully fixes crash

---
 qcsrc/server/mutators/events.qh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qcsrc/server/mutators/events.qh b/qcsrc/server/mutators/events.qh
index a18b6b80d2..55f4e1496c 100644
--- a/qcsrc/server/mutators/events.qh
+++ b/qcsrc/server/mutators/events.qh
@@ -442,8 +442,8 @@ MUTATOR_HOOKABLE(SV_ParseServerCommand, EV_SV_ParseServerCommand);
 #define EV_Spawn_Score(i, o) \
     /** player wanting to spawn */ i(entity, MUTATOR_ARGV_0_entity) \
     /** spot to be evaluated */ i(entity, MUTATOR_ARGV_1_entity) \
-    /** spot score, _x is priority, _y is "distance" */ i(vector, MUTATOR_ARGV_0_vector) \
-    /**/ o(vector, MUTATOR_ARGV_0_vector) \
+    /** spot score, _x is priority, _y is "distance" */ i(vector, MUTATOR_ARGV_2_vector) \
+    /**/ o(vector, MUTATOR_ARGV_2_vector) \
     /**/
 MUTATOR_HOOKABLE(Spawn_Score, EV_Spawn_Score);
 
-- 
2.39.5