Skip to content

Commit

Permalink
Update warning logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemonymous committed Oct 27, 2022
1 parent 153bb0f commit af05a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mod_loader/modapi/squad.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function modApi:squadIndex2Choice(index)
or index < self.constants.SQUAD_INDEX_START
or index > self.constants.SQUAD_INDEX_END
then
LOG("WARNING: Invalid squad index -> choice conversion")
LOGW("Invalid squad index -> choice conversion")
return -1
end

Expand All @@ -98,7 +98,7 @@ function modApi:squadChoice2Index(choice)
or choice < self.constants.SQUAD_CHOICE_START
or choice > self.constants.SQUAD_CHOICE_END
then
LOG("WARNING: Invalid squad choice -> index conversion")
LOGW("Invalid squad choice -> index conversion")
return -1
end

Expand Down

0 comments on commit af05a66

Please sign in to comment.