diff --git a/Manual_tests.md b/Manual_tests.md index b05fdfd..a94c8ae 100644 --- a/Manual_tests.md +++ b/Manual_tests.md @@ -9,9 +9,9 @@ Initializing settings: - `default_map` absent/present - when connecting to a new app - - run with an untested version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key. + - run with an untested version of LÖVE. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key. - run with a LÖVE v12 release candidate. No errors; it is a supported version. All tests pass. - - create a couple of spuriously failing tests. Run with an untested version. Error message includes message about untested version. + - create a couple of spuriously failing tests. Run with an untested version of LÖVE. Error message includes message about untested version. Code loading: * run love with directory; text editor runs diff --git a/main.lua b/main.lua index dada383..15728dc 100644 --- a/main.lua +++ b/main.lua @@ -294,3 +294,8 @@ for handler_name in pairs(love.handlers) do end end end + +function warning_message() + assert(type(Current_app) == 'table') + return Current_app.message +end