mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
fix xml.tostring
This commit is contained in:
parent
8214f1bd09
commit
99bcefaed0
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ static std::unique_ptr<xml::xmlelement> toxml(lua::State* L) {
|
|||
break;
|
||||
}
|
||||
auto key = lua::require_lstring(L, -1);
|
||||
if (key == "@") {
|
||||
if (key == TAG_ATTR) {
|
||||
break;
|
||||
}
|
||||
auto value = lua::require_lstring(L, -2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue