mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Registers are cleared on code upload
This commit is contained in:
parent
a14853b12c
commit
6fc583d6f0
@ -40,6 +40,8 @@ public class CodeUploadHandler implements MessageHandler {
|
||||
user.getUser().getControlledUnit().getKeyboardBuffer().clear();
|
||||
}
|
||||
|
||||
//Clear registers
|
||||
user.getUser().getCpu().getRegisterSet().clear();
|
||||
|
||||
JSONObject response = new JSONObject();
|
||||
response.put("t", "codeResponse");
|
||||
|
Loading…
x
Reference in New Issue
Block a user