File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ def on_message(chunk, packet)
162
162
when NETMSGTYPE_CL_STARTINFO then @game_server . on_start_info ( chunk , packet )
163
163
when NETMSGTYPE_CL_SAY then @game_server . on_say ( chunk , packet )
164
164
when NETMSGTYPE_CL_EMOTICON then @game_server . on_emoticon ( chunk , packet )
165
+ when NETMSG_NULL then nil # TODO: ddnet ex messages
165
166
else
166
167
puts "Unsupported game msg: #{ chunk . msg } "
167
168
exit ( 1 )
@@ -187,6 +188,8 @@ def process_chunk(chunk, packet)
187
188
@game_server . on_rcon_cmd ( chunk , packet )
188
189
when NETMSG_RCON_AUTH
189
190
@game_server . on_rcon_auth ( chunk , packet )
191
+ when NETSMSG_NULL
192
+ nil # TODO: ddnet ex messages
190
193
else
191
194
puts "Unsupported system msg: #{ chunk . msg } "
192
195
exit ( 1 )
You can’t perform that action at this time.
0 commit comments