Fix server: reset value when end game