From 92e740079627d1686343c24a944e0b66d8ec2a9f Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Tue, 15 Nov 2022 11:08:29 +0100 Subject: [PATCH] Allow sv and cl for packet type --- scripts/bin/twnet | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/bin/twnet b/scripts/bin/twnet index 213bab2..eff564e 100755 --- a/scripts/bin/twnet +++ b/scripts/bin/twnet @@ -239,12 +239,14 @@ function action_generate() { if [ "$arg" == "server_packet" ] || [ "$arg" == "srv_pck" ] || [ "$arg" == "sv_pck" ] || - [ "$arg" == "sp" ] + [ "$arg" == "sp" ] || + [ "$arg" == "sv" ] then arg_type=server elif [ "$arg" == "client_packet" ] || [ "$arg" == "cl_pck" ] || - [ "$arg" == "cp" ] + [ "$arg" == "cp" ] || + [ "$arg" == "cl" ] then arg_type=client else