Fixed issue that the editor would get "stuck" if demo exits during playback

Closes #29
This commit is contained in:
Daniel Collin 2012-11-03 09:42:52 +01:00
parent 43332b491c
commit 32552dbd98

View File

@ -235,6 +235,8 @@ void RemoteConnection_disconnect()
rlog(R_INFO, "disconnect!\n");
s_paused = true;
memset(s_nameLookup.ids, -1, sizeof(int) * s_nameLookup.count);
s_nameLookup.count = 0;
}