BlzLoadTOCFile fails on empty file?

Status
Not open for further replies.
Level 2
Joined
Apr 27, 2019
Messages
4
Here is the piece of code:

print("Readyin' UI")
if BlzLoadTOCFile("war3mapImported\\fuck.toc") then
print("success")
else
print("em fuck it")
end

It is executed when an user says "r" in chat.

I get output:
Readyin' UI
em fuck it

The TOC file is empty, and the path is correct.

Did they change something in reforged?

EDIT: by the way, print function is defined to output text in chat
 
Last edited:
Status
Not open for further replies.
Back
Top