mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-02 01:47:08 +01:00
Various minor changes and fixes that were not pushed to the repository. Just random stuff.
This commit is contained in:
1 parent
c516c53bd3
commit
0f0b795ca9
10 files changed
+314
-154
No files matched your search
@@ -1422,7 +1422,7 @@ void Core::EmitClientScriptData(Int32 player_id, const uint8_t * data, size_t si
|
||||
// Remember the current stack size
|
||||
const StackGuard sg;
|
||||
// Create a protected instance of a buffer wrapper
|
||||
AutoDelete< SqBuffer > ad(new SqBuffer(std::move(b)));
|
||||
DeleteGuard< SqBuffer > ad(new SqBuffer(std::move(b)));
|
||||
// Transform the pointer into a script object
|
||||
PushVar< SqBuffer * >(DefaultVM::Get(), ad.Get());
|
||||
// The script took over the instance now
|
||||
|
||||
Reference in new issue
Block a user