about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-02-23 16:41:33 +0100
committerEmile <hanemile@protonmail.com>2020-02-23 16:41:33 +0100
commit6dc2e05313efa4bf0bffcd80a64fe4d24773a692 (patch)
tree8ab48adb2edc3a2ce4ec32f9a408493c435c75b3 /src
parent6b8889c845ed13ba1f89a8aa0d0240f358c71b5a (diff)
don't return, restoring is done in a seperate function
Diffstat (limited to 'src')
-rw-r--r--src/run.go5
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 {