From 8071b895d24aaff1b4747037600b90f2637e29b8 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sat, 11 Oct 2014 14:39:34 +0200 Subject: [PATCH] Idlekicker: replace len hardcoded content by sizeof --- plugins/ns/idlekicker.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ns/idlekicker.sma b/plugins/ns/idlekicker.sma index 2e6479a5..1cc9c3cd 100755 --- a/plugins/ns/idlekicker.sma +++ b/plugins/ns/idlekicker.sma @@ -114,7 +114,7 @@ public playerSpawned(id) { g_spawned[id] = false new sid[1] sid[0] = id - set_task(0.75, "delayedSpawn",_, sid, 1) // Give the player time to drop to the floor when spawning + set_task(0.75, "delayedSpawn",_, sid, sizeof(sid)) // Give the player time to drop to the floor when spawning return PLUGIN_HANDLED }