Fix util::ostringstream, fix pretty-printing, stub out new globals
This commit is contained in:
@@ -57,7 +57,9 @@ eng::string World::tangible_pprint(int64_t id) const {
|
||||
if (LS.istable(tan)) {
|
||||
LS.getmetatable(meta, tan);
|
||||
LS.clearmetatable(tan);
|
||||
pprint(LS, tan, false, &oss);
|
||||
PrettyPrintOptions opts;
|
||||
opts.indent = false;
|
||||
pprint(LS, tan, opts, &oss);
|
||||
LS.setmetatable(tan, meta);
|
||||
} else {
|
||||
oss << "<no such tangible: " << id << ">";
|
||||
|
||||
Reference in New Issue
Block a user