@ -73,14 +73,13 @@ namespace gui {
}
void MapViewUI::update() {
if($gui.has<Textual>($log_to)) {
auto& text = $gui.get<Textual>($log_to);
if(auto text = $gui.get_if<Textual>($log_to)) {
//BUG: I'm calling this what it is, fix it
wstring log_garbage;
for(auto msg : $messages) {
log_garbage += msg + L"\n";
text.update(log_garbage);
text->update(log_garbage);