From: Mircea Kitsune Date: Fri, 28 Oct 2011 15:01:59 +0000 (+0300) Subject: Remove debug code. Saving and loading from text files should be fully functional... X-Git-Tag: xonotic-v0.6.0~35^2~18^2~77 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=77f803d624789fbd747f953b5914931acb2d07a6;p=xonotic%2Fxonotic-data.pk3dir.git Remove debug code. Saving and loading from text files should be fully functional now. When starting the same map, you will find your objects just as you left them :) --- diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 309b36186..3805dc32b 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -251,7 +251,6 @@ void sandbox_Storage_DatabaseLoad() entity e; e = sandbox_SpawnObject(TRUE); sandbox_Storage_Load(e, rf, TRUE); - //dprint(strcat(rf, " --------\n")); } } } @@ -262,7 +261,6 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand) return FALSE; if(cmd_name == "g_sandbox") { -//sandbox_Storage_DatabaseLoad(); if(cmd_argc < 2) { print_to(self, "Sandbox mode is active. For usage information, type 'sandbox help'");