Minor fix on BG script.

Based on this report.
http://rathena.org/board/tracker/issue-8813-minor-warning-on-battleground-script/