summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1f7ef9)
raw | patch | inline | side by side (parent: b1f7ef9)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 4 Apr 2017 19:23:32 +0000 (22:23 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 4 Apr 2017 19:23:32 +0000 (22:23 +0300) |
server.c | patch | blob | history |
diff --git a/server.c b/server.c
index e28b30203679bdde9c28ac957b2a8f487e9570cc..e60ac264fdffb1ac32881cf4bd0812542baba512 100644 (file)
--- a/server.c
+++ b/server.c
assert(id >= 0);
assert(client[id].connected);
- if(!g_player[id].live)
+ if(!g_player[id].live && m.cl.does.code.bits)
sv_spawn_player(id);
+ if(!g_player[id].live)
+ return;
+
g_player_does(id, m.cl.does.code);
}