cubescript events update, fixes and doc.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6476 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-05-28 19:35:18 +00:00
parent 101193eba7
commit f6bbd73b2a
5 changed files with 61 additions and 18 deletions
+5
View File
@@ -561,6 +561,11 @@ void gets2c() // get updates from the server
connpeer = NULL;
connected = 1;
conoutf(_("connected to server"));
if(identexists("onConnect"))
{
defformatstring(onconnect)("onConnect %d", -1);
execute(onconnect);
}
throttle();
if(editmode) toggleedit(true);
break;