1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Refactor Script API's log_deprecated

This commit is contained in:
sfan5 2020-02-12 19:17:04 +01:00
parent 4da057cc49
commit c657fb343f
6 changed files with 27 additions and 31 deletions

View file

@ -2364,7 +2364,7 @@ bool GUIFormSpecMenu::parseSizeDirect(parserData* data, const std::string &eleme
return false;
if (type == "invsize")
log_deprecated("Deprecated formspec element \"invsize\" is used");
warningstream << "Deprecated formspec element \"invsize\" is used" << std::endl;
parseSize(data, description);