RhenaudTheLukark / CreateYourFrisk

Rhenaud The Lukark's Unitale fork
GNU General Public License v3.0
133 stars 56 forks source link

Triggering an error in EndingWave() displays an unknown script #60

Closed RhenaudTheLukark closed 4 years ago

RhenaudTheLukark commented 4 years ago

Seen on v0.6.3 I posted this so I can fix it later

Eir-nya commented 4 years ago

Testing confirms this does happen in v0.6.3 with this code:

function Update() end
function EndingWave()
    error("h")
end

Resulting in the output of:

error in script ???

chunk_2:(4,9-14): h

However, testing this in the current version of the feature branch yields this message:

error in script test

test:(4,9-14): h

(with test being the name of my wave script)

This was most likely fixed by these commits in order: