mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Apply suggestions from code review
Co-Authored-By: Michał Janiszewski <janisozaur@users.noreply.github.com> Co-Authored-By: Aaron van Geffen <aaron@aaronweb.net> Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ namespace OpenRCT2::Scripting
|
||||
std::string Name;
|
||||
std::string Version;
|
||||
std::vector<std::string> Authors;
|
||||
PluginType Type;
|
||||
PluginType Type{};
|
||||
int32_t MinApiVersion{};
|
||||
DukValue Main;
|
||||
};
|
||||
@@ -50,7 +50,7 @@ namespace OpenRCT2::Scripting
|
||||
private:
|
||||
duk_context* _context{};
|
||||
std::string _path;
|
||||
PluginMetadata _metadata;
|
||||
PluginMetadata _metadata{};
|
||||
std::string _code;
|
||||
bool _hasStarted{};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*****************************************************************************
|
||||
* Copyright (c) 2020 OpenRCT2 developers
|
||||
* Copyright (c) 2014-2020 OpenRCT2 developers
|
||||
*
|
||||
* For a complete list of all authors, please refer to contributors.md
|
||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||
|
||||
Reference in New Issue
Block a user