File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public Entity()
5252 }
5353 }
5454
55- public virtual void destroy ( )
55+ public virtual void onDestroy ( )
5656 {
5757 }
5858
Original file line number Diff line number Diff line change @@ -1529,7 +1529,7 @@ public void Client_onEntityLeaveWorld(Int32 eid)
15291529 else
15301530 {
15311531 entities . Remove ( eid ) ;
1532- entity . destroy ( ) ;
1532+ entity . onDestroy ( ) ;
15331533 _entityIDAliasIDList . Remove ( eid ) ;
15341534 }
15351535 }
@@ -1663,7 +1663,7 @@ public void clearEntities(bool isall)
16631663 if ( dic . Value . inWorld )
16641664 dic . Value . onLeaveWorld ( ) ;
16651665
1666- dic . Value . destroy ( ) ;
1666+ dic . Value . onDestroy ( ) ;
16671667 }
16681668
16691669 entities . Clear ( ) ;
@@ -1676,7 +1676,7 @@ public void clearEntities(bool isall)
16761676 if ( dic . Value . inWorld )
16771677 dic . Value . onLeaveWorld ( ) ;
16781678
1679- dic . Value . destroy ( ) ;
1679+ dic . Value . onDestroy ( ) ;
16801680 }
16811681
16821682 entities . Clear ( ) ;
@@ -1741,7 +1741,7 @@ public void Client_onEntityDestroyed(Int32 eid)
17411741 entity . onLeaveWorld ( ) ;
17421742
17431743 entities . Remove ( eid ) ;
1744- entity . destroy ( ) ;
1744+ entity . onDestroy ( ) ;
17451745 }
17461746
17471747 public void Client_onUpdateBasePos ( MemoryStream stream )
You can’t perform that action at this time.
0 commit comments