Update sv_gamemode_functions.lua

U wot m8?
-swap "for" and "if"