… | … | ||
---|---|---|---|
539 | or next; | 539 | or next; |
540 | $pl->valid or next; | 540 | $pl->valid or next; |
541 | 541 | ||
542 | eval { | 542 | eval { |
543 | if ($pl->{last_save} + $SAVE_TIMEOUT <= $cf::RUNTIME) { | 543 | if ($pl->{last_save} + $SAVE_TIMEOUT <= $cf::RUNTIME) { |
544 | $cf::WAIT_FOR_TICK_ONE->wait; | 544 | cf::wait_for_tick_begin; |
545 | $pl->save; | 545 | $pl->save; |
546 | 546 | ||
547 | unless ($pl->active) { | 547 | unless ($pl->active) { |
548 | # check refcounts, this is tricky and needs to be adjusted to fit server internals | 548 | # check refcounts, this is tricky and needs to be adjusted to fit server internals |
549 | my $ob = $pl->ob; | 549 | my $ob = $pl->ob; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |