mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Removed frames ArrayList deletion.
This commit is contained in:
parent
1cd46a71c2
commit
2286344b8f
@ -435,11 +435,10 @@ public int Native_SetReplayData(Handle handler, int numParams)
|
|||||||
{
|
{
|
||||||
int client = GetNativeCell(1);
|
int client = GetNativeCell(1);
|
||||||
|
|
||||||
ArrayList frames = view_as<ArrayList>(CloneHandle(GetNativeCell(2)));
|
|
||||||
delete gA_PlayerFrames[client];
|
delete gA_PlayerFrames[client];
|
||||||
gA_PlayerFrames[client] = frames.Clone();
|
|
||||||
delete frames;
|
|
||||||
|
|
||||||
|
ArrayList frames = view_as<ArrayList>(CloneHandle(GetNativeCell(2)));
|
||||||
|
gA_PlayerFrames[client] = frames.Clone();
|
||||||
gI_PlayerFrames[client] = gA_PlayerFrames[client].Length;
|
gI_PlayerFrames[client] = gA_PlayerFrames[client].Length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user