--- deliantra/server/ext/commands.ext 2007/04/13 05:32:12 1.40 +++ deliantra/server/ext/commands.ext 2007/04/25 18:47:50 1.41 @@ -291,6 +291,8 @@ return $ob->reply (undef, "Output count is presently " . $ob->contr->outputs_count) unless $arg > 0; + $arg = 4 if $arg < 4; + $ob->contr->outputs_count ($arg); $ob->reply (undef, "Output count now set to " . $ob->contr->outputs_count); @@ -303,6 +305,8 @@ return $ob->reply (undef, sprintf "Output sync time is presently %.1fs", $ob->contr->outputs_sync * $cf::TICK) unless length $arg; + $arg = 0.5 if $arg < 0.5; + $ob->contr->outputs_sync ($arg / $cf::TICK); $ob->reply (undef, sprintf "Output sync time now set to %.1fs", $ob->contr->outputs_sync * $cf::TICK);