Skip to content

Current questions and answers regarding the map editor.

#4732
Auto-translated
Thank you. The way the code is structured here is a bit strange. The problem lies in HasBorderguardKey(PLAYER_1, RED_KEY). If you access it by name, the function returns nil if the keyholder hasn't been visited, but when they have been visited, everything works fine. When I replaced the name with a number (HasBorderguardKey(PLAYER_1, 1)), along with the other recommendations, the notifications disappeared.