diff --git a/library/xml b/library/xml index d8e10fe0c..c98b89239 160000 --- a/library/xml +++ b/library/xml @@ -1 +1 @@ -Subproject commit d8e10fe0cd24e33aab412d13ab650dcdb49d718d +Subproject commit c98b89239c387f967a8656c863f9a923c26244d2 diff --git a/plugins/devel/check-structures-sanity.cpp b/plugins/devel/check-structures-sanity.cpp index 9f1c3a346..cb147edb7 100644 --- a/plugins/devel/check-structures-sanity.cpp +++ b/plugins/devel/check-structures-sanity.cpp @@ -37,7 +37,7 @@ DFhackCExport command_result plugin_init(color_ostream &, std::vector & pa { return CR_FAILURE; } + if (!lua_touserdata(State, -1)) + { + return CR_WRONG_USAGE; + } ToCheck ref; ref.path.push_back(parameters.at(0)); diff --git a/scripts b/scripts index b1e46e818..074f75808 160000 --- a/scripts +++ b/scripts @@ -1 +1 @@ -Subproject commit b1e46e818a6c44fe8a9688754f511a8e3aa18668 +Subproject commit 074f7580865b643011ea2e0fcfca55b5d5a7bbe8