fix(gameplay): fix weather GPU rain, volumetric fog, outfit hiding, character switch handoff, combat cooldowns, and map warp

This commit is contained in:
CAtlas0784 committed 2026-09-17 14:35:27 +07:00
1 parent 81a0f65ea6
commit dd1f8c659b
6 files changed
+192 -181

No files matched your search

@@ -59,6 +59,12 @@ internal sealed partial class GameRouter
private async Task GmTeleportXYZ(Connection conn, UxRpcMessage msg)
{
var args = msg.GetArgs<SceneMethods.GmTeleportXYZ>();
if (MathF.Abs(args.X) < 0.1f && MathF.Abs(args.Z) < 0.1f)
{
conn.Session.Log.Warn($"[GM] reject teleport to origin (0, 0, 0)");
await conn.ReturnAsync(msg, 0);
return;
}
var state = GetWorldState(msg.Context);
var targetY = args.Y;
if (targetY <= 10f)