Files
net-gunner/scripts/uninstall_hack_modal.gd

13 lines
281 B
GDScript

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