Skip to content

Commit 1620bff

Browse files
committed
Fixed linux client closing when server exits
1 parent 77bff80 commit 1620bff

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

objects/oClient.object.gmx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,6 +2114,9 @@ switch(type_event){
21142114
global.dmapPrev = array_clone(global.dmap);
21152115
popup_text("Stats reset");
21162116
break;
2117+
case 107:
2118+
disconnectTimer = -10;
2119+
break;
21172120
case 0:
21182121
global.clientID = buffer_read(_buffer, buffer_u8);
21192122
show_debug_message(string(msgid) + " " + string(global.clientID));

scripts/receive_randmod_buffer.gml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// receive_randmod_buffer
2+
/*
23
//Power-ups
34
oControl.mod_bombs = buffer_read(_buffer, buffer_s16);
45
oControl.mod_spider = buffer_read(_buffer, buffer_s16);

0 commit comments

Comments
 (0)