]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix is_dedicated setting (forgot stof)
authorSamual Lenks <samual@xonotic.org>
Wed, 27 Feb 2013 07:44:56 +0000 (02:44 -0500)
committerSamual Lenks <samual@xonotic.org>
Wed, 27 Feb 2013 07:44:56 +0000 (02:44 -0500)
qcsrc/server/g_world.qc

index 15dce3d80617d16949b0c54f2a077d1dd5f63ea5..cab4d803069ba8f405cd0ecc789dd55fdec4257b 100644 (file)
@@ -597,7 +597,7 @@ void spawnfunc_worldspawn (void)
                head = nextent(head);
        }
 
-       server_is_dedicated = (cvar_defstring("is_dedicated") ? TRUE : FALSE);
+       server_is_dedicated = (stof(cvar_defstring("is_dedicated")) ? TRUE : FALSE);
 
        // needs to be done so early because of the constants they create
        CALL_ACCUMULATED_FUNCTION(RegisterWeapons);