feat: set default chat target to -1 (closed #12)

This commit is contained in:
ChillerDragon 2024-02-15 18:12:03 +08:00
parent fd7a93e76a
commit e835d6e33b
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@
"game.sv_tune_params.laser_bounce_cost": 0, "game.sv_tune_params.laser_bounce_cost": 0,
"game.sv_tune_params.player_collision": 1, "game.sv_tune_params.player_collision": 1,
"game.sv_tune_params.player_hooking": 1, "game.sv_tune_params.player_hooking": 1,
"game.cl_say.target": -1,
"system.info.version": "0.7 802f1be60a05665f", "system.info.version": "0.7 802f1be60a05665f",
"system.info.client_version": 1797 "system.info.client_version": 1797
} }

View file

@ -12,7 +12,7 @@ class MsgClSay(PrettyPrint):
self, self,
chunk_header: ChunkHeader = ChunkHeader(), chunk_header: ChunkHeader = ChunkHeader(),
mode: int = enum7.Chat.NONE.value, mode: int = enum7.Chat.NONE.value,
target: int = 0, target: int = -1,
message: str = 'default' message: str = 'default'
) -> None: ) -> None:
self.message_type: Literal['system', 'game'] = 'game' self.message_type: Literal['system', 'game'] = 'game'