onPickup fix, onDisconnect, docs

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6606 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-08-20 23:00:10 +00:00
parent e0b45cccfb
commit 5a7e64793f
5 changed files with 40 additions and 14 deletions
+2
View File
@@ -215,6 +215,8 @@ void disconnect(int onlyclean, int async)
}
#endif
if(!onlyclean) localconnect();
if(identexists("onDisconnect")) execute("onDisconnect");
}
void trydisconnect()