I agree it's not cool, when the enemy surrenders, the main theme from the Godfather should sound, but not the sound of castling
Why when you resign a "Castling" sound appears??

LOL WHAT IS THAT? (also is it just me, or the fact that @Arseny_Vasily's pawn which is is looking the other direction is funny? XD )

The background is that variants (aka 4PC) only supports resigning on your turn, and I can't easily change that, so the workaround is that a passing move P is played for the opponent. And the passing move i gave the castling sound (later we'll have variants where you can pass).
As a quick fix I'll add that such artificial passing moves are muted.

The background is that variants (aka 4PC) only supports resigning on your turn, and I can't easily change that, so the workaround is that a passing move P is played for the opponent. And the passing move i gave the castling sound (later we'll have variants where you can pass).
As a quick fix I'll add that such artificial passing moves are muted.
ok, thanks @spacebar
When your oponent resigns, it first appeared like you castled and then he resings.
Is this a bug or part of it?
Here is a proof where my oponent resigned in a Fog of War game and a mysterious "P" in the notation appeared, the castling sound, and then the resign even though I have already moved my king and din't had rooks. https://www.chess.com/variants/fog-of-war/game/14644544/57/3
just click on the forward option 2 times and you will see the P in the notation, the castling sound, and finally then the resign by white.