From 6dc2e05313efa4bf0bffcd80a64fe4d24773a692 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 23 Feb 2020 16:41:33 +0100 Subject: don't return, restoring is done in a seperate function --- src/run.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/run.go') diff --git a/src/run.go b/src/run.go index 686860b..a422ddf 100644 --- a/src/run.go +++ b/src/run.go @@ -13,11 +13,6 @@ import ( // StepIn steps in and stores the state of the registers for the given bot func stepIn(r2p *r2pipe.Pipe) { _ = r2cmd(r2p, "aes") - - // store the regisers - registers := r2cmd(r2p, "aerR") - registersStripped := strings.Replace(registers, "\n", ";", -1) - return registersStripped } func switchPlayer(r2p *r2pipe.Pipe, currentPlayer int, config Config) int { -- cgit 1.4.1