Skip to content
Browse files

Copy all of the properties when cloning the Clan object.

This was causing half of the properties of the clan exposed to scripting
to never actually be set. I've no idea how this wasn't noticed until
  • Loading branch information...
Davnit committed May 6, 2018
1 parent 874362f commit 301e0d59d28cc547107bb46c80f5af415a609b92
Showing with 5 additions and 0 deletions.
  1. +5 −0 trunk/clsClanObj.cls
@@ -290,7 +290,12 @@ Public Function Clone() As clsClanObj
Set Clone = New clsClanObj

Clone.Name = Name
Clone.FullName = FullName
Clone.InClan = InClan
Clone.PendingInvitation = PendingInvitation
Clone.PendingInvitationCookie = PendingInvitationCookie
Clone.PendingClanMOTD = PendingClanMOTD

For i = 1 To Members.Count
Clone.Members.Add Members(i).Clone()

0 comments on commit 301e0d5

Please sign in to comment.
You can’t perform that action at this time.