Cut match time in half (5 mins now)
parent
8c42dbbd3d
commit
ffc276461c
|
@ -1,7 +1,7 @@
|
||||||
main = {
|
main = {
|
||||||
modes = {},
|
modes = {},
|
||||||
playing = {},
|
playing = {},
|
||||||
mode_interval = 60 * 10,
|
mode_interval = 60 * 5,
|
||||||
default_drops = {
|
default_drops = {
|
||||||
default = "shooter_guns:ammo",
|
default = "shooter_guns:ammo",
|
||||||
["combat:medkit"] = 20,
|
["combat:medkit"] = 20,
|
||||||
|
@ -70,8 +70,8 @@ function main.join_player(player)
|
||||||
minetest.chat_send_player(name,
|
minetest.chat_send_player(name,
|
||||||
minetest.colorize("yellow", "[Voxel Combat] ")..
|
minetest.colorize("yellow", "[Voxel Combat] ")..
|
||||||
"Current mode: "..main.current_mode.mode.full_name..
|
"Current mode: "..main.current_mode.mode.full_name..
|
||||||
". Current map (By "..main.current_mode.map.creator..
|
". Current map: "..main.current_mode.map.name.." (By "..main.current_mode.map.creator..
|
||||||
"): "..main.current_mode.map.name
|
")"
|
||||||
)
|
)
|
||||||
|
|
||||||
main.playing[name] = true
|
main.playing[name] = true
|
||||||
|
@ -89,10 +89,6 @@ minetest.register_on_joinplayer(function(p)
|
||||||
else
|
else
|
||||||
main.join_player(p)
|
main.join_player(p)
|
||||||
end
|
end
|
||||||
|
|
||||||
skybox.set(p, 6)
|
|
||||||
local one, two, three = p:get_sky()
|
|
||||||
p:set_sky(one, two, three, false)
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_respawnplayer(function(p)
|
minetest.register_on_respawnplayer(function(p)
|
||||||
|
|
Loading…
Reference in New Issue