/// <summary> /// Stops any running generator processes /// </summary> private static void OnLogout( LogoutEventArgs args ) { Player p = (Player)args.Mobile; if( HitsTable.ContainsKey(p) ) { HitsTable[p].Stop(); } }
private static void OnLogout( LogoutEventArgs e ) { Mobile from = e.Mobile; if ( from.Alive ) AutoStable( from ); }