mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-08 20:12:11 +00:00
remove whitespaces (#12)
This commit is contained in:
parent
2061af0645
commit
fc1407feff
12 changed files with 90 additions and 90 deletions
|
|
@ -61,6 +61,7 @@ function set_player_mode(player, mode) -- Set player mode (spectator, pre-match,
|
||||||
healthbar = true,
|
healthbar = true,
|
||||||
breathbar = true,
|
breathbar = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
elseif mode == "spectator" then
|
elseif mode == "spectator" then
|
||||||
privs.noclip, privs.fast, privs.fly, privs.interact, privs.debug = true, true, true, false, true
|
privs.noclip, privs.fast, privs.fly, privs.interact, privs.debug = true, true, true, false, true
|
||||||
|
|
||||||
|
|
@ -201,7 +202,6 @@ function end_match() -- End the match
|
||||||
listring[current_player;main]
|
listring[current_player;main]
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
|
||||||
player:set_properties({pointable = false})
|
player:set_properties({pointable = false})
|
||||||
|
|
||||||
set_player_mode(player, "normal")
|
set_player_mode(player, "normal")
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ core.register_on_joinplayer(function(player)
|
||||||
list[current_player;main;0,1.25;8,3;8]
|
list[current_player;main;0,1.25;8,3;8]
|
||||||
listring[current_player;main]
|
listring[current_player;main]
|
||||||
]])
|
]])
|
||||||
|
|
||||||
player:set_properties({pointable = false})
|
player:set_properties({pointable = false})
|
||||||
|
|
||||||
player:hud_set_flags({
|
player:hud_set_flags({
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@ function place_map(map)
|
||||||
map_data.classes.class_3.name = "Short-range"
|
map_data.classes.class_3.name = "Short-range"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return map_data
|
return map_data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue