mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Masterserver mods fix
This commit is contained in:
parent
0a2de78da4
commit
a70993d6d2
2 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ sub request (;$) {
|
|||
$param->{first} ||= $old->{first} || $old->{time} || $param->{time};
|
||||
$param->{clients_top} = $old->{clients_top} if $old->{clients_top} > $param->{clients};
|
||||
$param->{clients_top} ||= $param->{clients} || 0;
|
||||
$param->{mods} ||= $old->{mods} unless $param->{action} ~~ 'start';
|
||||
$param->{mods} ||= $old->{mods} if $old->{mods} and !($param->{action} ~~ 'start');
|
||||
delete $param->{action};
|
||||
$listk->{$param->{key}} = $param;
|
||||
#printlog Dumper $param;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue