[minetestmapper] Corrige emplacement du spawn dans genmap.sh
This commit is contained in:
parent
6781ea3b7e
commit
4eea3c0f83
@ -52,7 +52,7 @@ action() {
|
||||
# Copie du dossier leaftest vers /tmp puis on l'exécute de là
|
||||
local config="$serverpath/minetest/minetest.conf"
|
||||
local workdir=$(mktemp -d "/tmp/minetest-mapper.XXXXXXXXX")
|
||||
local spawn=$(grep "^static_spawnpoint" "$config" | tr -d " " | cut -f 2 -d "=" | cut -f 1 -d' ');
|
||||
local spawn=$(grep "^static_spawnpoint" "$config" | tr -d " " | cut -f 2 -d "=");
|
||||
local spawnx=$(cut -f 1 -d "," <<<$spawn)
|
||||
local spawnz=$(cut -f 3 -d "," <<<$spawn)
|
||||
local mapsize=12288
|
||||
|
Loading…
Reference in New Issue
Block a user