1
0
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:
Sadret
2020-10-23 14:18:51 +02:00
committed by GitHub
parent f6de4b2e44
commit 6c44fefcaa
2 changed files with 2 additions and 1 deletions

View File

@@ -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.

View File

@@ -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
{