It was my mistake; I didn't anticipate some things.
Added 2 minutes ago
The problem can be solved by entering the command @SetGameVar("flag", 0) in the console.
Added 28 minutes ago
An updated version 1.0.1 has also been released. Thank you for the important feedback.
Auto-translated