aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Main.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-08-15 13:40:01 +0300
committerRblSb <msrblsb@gmail.com>2021-08-15 13:44:32 +0300
commitf2d28c726ba46f03716ed37667d0e94c60ad3459 (patch)
treed13d389f005cbb5ba5b5f46da05bbacf5801fbbb /src/client/Main.hx
parent5b908e914ebfeedb2895f5de1b9167a6ce12c136 (diff)
Add /flashback (/fb)
Diffstat (limited to 'src/client/Main.hx')
-rw-r--r--src/client/Main.hx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/Main.hx b/src/client/Main.hx
index 57a2d0f..28fefe8 100644
--- a/src/client/Main.hx
+++ b/src/client/Main.hx
@@ -500,6 +500,7 @@ class Main {
case Rewind:
player.setTime(data.rewind.time);
+ case Flashback: // server-only
case SetLeader:
clients.setLeader(data.setLeader.clientName);
updateUserList();
@@ -858,6 +859,9 @@ class Main {
case "clear":
send({type: ClearChat});
return true;
+ case "flashback", "fb":
+ send({type: Flashback});
+ return false;
}
if (matchSimpleDate.match(command)) {
send({
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage