… | |
… | |
80 | |
80 | |
81 | my $path = sprintf "%s/%s/%s/%s", |
81 | my $path = sprintf "%s/%s/%s/%s", |
82 | cf::localdir, cf::playerdir, $ob->name, "nimbus"; |
82 | cf::localdir, cf::playerdir, $ob->name, "nimbus"; |
83 | |
83 | |
84 | if ($ob->map->path ne $path) { |
84 | if ($ob->map->path ne $path) { |
85 | my $nimbus = cf::map::get_map "/schmorp/nimbus"; |
85 | my $nimbus = cf::map::find "/schmorp/nimbus"; |
86 | $nimbus->set_path ($path); |
86 | $nimbus->set_path ($path); |
87 | $nimbus->set_unique (1); |
87 | $nimbus->set_unique (1); |
88 | |
88 | |
89 | $pl->set_savebed ($path, 24, 12); |
89 | $pl->set_savebed ($path, 24, 12); |
90 | } |
90 | } |