mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
Fixed ArrayList ownership.
This commit is contained in:
parent
a1a318b007
commit
49705cf814
@ -435,7 +435,7 @@ public int Native_SetReplayData(Handle handler, int numParams)
|
||||
{
|
||||
int client = GetNativeCell(1);
|
||||
|
||||
ArrayList frames = view_as<ArrayList>(CloneHandle(GetNativeCell(2), handler));
|
||||
ArrayList frames = view_as<ArrayList>(CloneHandle(GetNativeCell(2)));
|
||||
delete gA_PlayerFrames[client];
|
||||
gA_PlayerFrames[client] = frames.Clone();
|
||||
delete frames;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user