class_name UninstallHackModal extends ConfirmationDialog var square : Vector3i func button_pressed(button : String) -> void: match(button): "detonate": Game.player.uninstall_hack_at(square) Game.player.close_modal() "attack": Game.player.close_modal() _: return