]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix typo
authorRudolf Polzer <divverent@xonotic.org>
Wed, 17 Oct 2012 14:36:51 +0000 (16:36 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 17 Oct 2012 14:36:51 +0000 (16:36 +0200)
qcsrc/server/bot/scripting.qc

index 1642133e11ea2c0d52104c795b6db4b6b6355172..ace11c6d696a52a046fee386f4a44fca4563091f 100644 (file)
@@ -1111,7 +1111,7 @@ float bot_cmd_sound()
        if(n >= 3)
                vol = stof(argv(1));
        if(n >= 4)
-               atten = stof(argv(1));
+               atten = stof(argv(2));
 
        precache_sound(f);
        sound(self, chan, sample, vol, atten);