SunParams forwarding

master
HimbeerserverDE 2021-08-30 19:19:34 +02:00
parent ab4e53dbae
commit 102440fbf3
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 6 additions and 0 deletions

View File

@ -346,6 +346,12 @@ func handleSrv(sc *serverConn) {
prependTexture(sc.name, &cmd.Textures[i])
}
sc.client().SendCmd(cmd)
case *mt.ToCltSunParams:
prependTexture(sc.name, &cmd.Texture)
prependTexture(sc.name, &cmd.ToneMap)
prependTexture(sc.name, &cmd.Rise)
sc.client().SendCmd(cmd)
case *mt.ToCltMoonParams:
prependTexture(sc.name, &cmd.Texture)