Merge branch 'main' into main

This commit is contained in:
IonicCheese 2026-02-19 20:09:06 -08:00 committed by GitHub
commit cdeeca752a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 36 deletions

View file

@ -75,6 +75,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
@ -245,7 +246,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")

View file

@ -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({