mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix #13266: Plugin API Deleting key of shared storage not working
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
- Fix: [#13158] Cursors are drawn incorrectly in text input fields.
|
||||
- Fix: [#13222] Vehicle collision causes negative number of passengers (original bug).
|
||||
- Fix: [#13226, #7280] No error is shown when attempting to load a corrupted save.
|
||||
- Fix: [#13266] Plugin API: Deleting key of sharedStorage not working.
|
||||
- Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
|
||||
- Improved: [#13098] Improvements to the maze construction window user interface
|
||||
- Improved: [#13125] Selecting the RCT2 files now uses localised dialogs.
|
||||
|
||||
@@ -251,7 +251,7 @@ namespace OpenRCT2::Scripting
|
||||
obj.push();
|
||||
if (value.type() == DukValue::Type::UNDEFINED)
|
||||
{
|
||||
duk_del_prop_string(ctx, -1, key.c_str());
|
||||
duk_del_prop_lstring(ctx, -1, n.data(), n.size());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user