]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed hash change.
authorLyberta <lyberta@lyberta.net>
Mon, 19 Mar 2018 10:37:05 +0000 (13:37 +0300)
committerLyberta <lyberta@lyberta.net>
Mon, 19 Mar 2018 10:37:05 +0000 (13:37 +0300)
qcsrc/server/resources.qc

index 254db749fff871eb3331024e58e048d7afa704b9..c53cf7ad8c7f62993e89b0636568d799a795e860 100644 (file)
@@ -157,7 +157,7 @@ void GiveResourceWithLimit(entity receiver, int resource_type, float amount,
        resource_type = M_ARGV(1, int);
        amount = M_ARGV(2, float);
        limit = M_ARGV(3, float);
-       if (amount <= 0)
+       if (amount == 0)
        {
                return;
        }