Bundle mission speech with an admin mute option and fix live audio downloads

This commit is contained in:
2026-10-15 16:53:39 +02:00
parent 07c4d70de5
commit 009b2fb591
181 changed files with 19248 additions and 103 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ struct ERR_GameMode {bool active=true,pending=false;std::string url="clip";Roste
bool Active(){return active;}bool ERR_WelcomePending(){return pending;}std::string ERR_WelcomeVoiceURL(){return url;}Roster* Players(){return &roster;}};
ERR_GameMode* ERR_GameMode::current;
namespace Replication {bool server=true;bool IsServer(){return server;}}
struct ERR_WelcomeVoiceRules {static bool URL(std::string s){return !s.empty();}};
struct ERR_WelcomeVoiceRules {static bool Source(std::string s){return !s.empty();}};
struct Game {Controller* owner=nullptr;Controller* canonical=nullptr;float now=1000;Ledger ledger;Controller* GetPlayerController(){return owner;}
Game* GetWorld(){return this;}Game* GetPlayerManager(){return this;}float GetWorldTime(){return now;}Controller* GetPlayerController(int){return canonical;}
bool ERR_ClaimWelcomeIdentity(UUID id){return ledger.Claim(id);}} game;