diff options
Diffstat (limited to 'src/script/api/script_list.cpp')
-rw-r--r-- | src/script/api/script_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_list.cpp b/src/script/api/script_list.cpp index 37321fdcf..70f07a9a3 100644 --- a/src/script/api/script_list.cpp +++ b/src/script/api/script_list.cpp @@ -445,7 +445,7 @@ int32 ScriptList::Begin() int32 ScriptList::Next() { if (this->initialized == false) { - DEBUG(ai, 0, "Next() is invalid as Begin() is never called"); + DEBUG(script, 0, "Next() is invalid as Begin() is never called"); return 0; } return this->sorter->Next(); @@ -459,7 +459,7 @@ bool ScriptList::IsEmpty() bool ScriptList::IsEnd() { if (this->initialized == false) { - DEBUG(ai, 0, "IsEnd() is invalid as Begin() is never called"); + DEBUG(script, 0, "IsEnd() is invalid as Begin() is never called"); return true; } return this->sorter->IsEnd(); |