summaryrefslogtreecommitdiff
path: root/sources/protocols/VSProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/protocols/VSProtocol.java')
-rw-r--r--sources/protocols/VSProtocol.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/protocols/VSProtocol.java b/sources/protocols/VSProtocol.java
index 6888d95..9ff1512 100644
--- a/sources/protocols/VSProtocol.java
+++ b/sources/protocols/VSProtocol.java
@@ -53,11 +53,13 @@ abstract public class VSProtocol extends VSEvent {
public void reset() {
if (isServer) {
currentContextIsServer = true;
+ isServer = false;
onServerReset();
}
if (isClient) {
currentContextIsServer = false;
+ isClient = false;
onClientReset();
}
}