ziggi / FCNPC

FCNPC - Fully Controllable NPC
Apache License 2.0
125 stars 30 forks source link

FCNPC_LoadPlayingPlayback conflicts with temporary recordings loaded by FCNPC_StartPlayingPlayback #306

Open Naseband opened 8 months ago

Naseband commented 8 months ago

When loading a playback with FCNPC_LoadPlayingPlayback while there are playbacks loaded from FCNPC_StartPlayingPlayback (using the file parameter and auto_unload set to true), FCNPC_LoadPlayingPlayback will most of the time return a random ID that is associated with a temporary playback. When attempting to start the playback ID with FCNPC_StartPlayingPlayback, the NPC will then play back the incorrect playback.

To reproduce:

Using the ID from the second step will then play back a (seemingly) random recording from the first step.