diff options
author | Emile <hanemile@protonmail.com> | 2020-02-23 16:41:33 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-02-23 16:41:33 +0100 |
commit | 6dc2e05313efa4bf0bffcd80a64fe4d24773a692 (patch) | |
tree | 8ab48adb2edc3a2ce4ec32f9a408493c435c75b3 /src | |
parent | 6b8889c845ed13ba1f89a8aa0d0240f358c71b5a (diff) |
don't return, restoring is done in a seperate function
Diffstat (limited to 'src')
-rw-r--r-- | src/run.go | 5 |
1 files changed, 0 insertions, 5 deletions
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 { |