leftovers from last commit

This commit is contained in:
Mark Sturgill 2013-10-15 21:42:30 -07:00
parent f5f24d3a92
commit 530258decb
2 changed files with 3 additions and 2 deletions

View file

@ -9139,7 +9139,7 @@ namespace Server
// We are attached to a client, so it's a bit more complex. We need to send new items and people to ourself, and ourself to other clients
#if Framework_4_0
Parallel.ForEach(eable, o => {
Parallel.ForEach(eeable, o => {
#else
foreach ( IEntity o in eeable ) {
#endif

View file

@ -470,7 +470,8 @@ namespace Server {
int length = idxReader.ReadInt32();
createEventArgs.Id = id;
BaseGuild guild = EventSink.InvokeCreateGuild( createEventArgs );
EventSink.InvokeCreateGuild(createEventArgs);
BaseGuild guild = createEventArgs.Guild;
if ( guild != null )
guilds.Add( new GuildEntry( guild, pos, length ) );
}