Skip to content

Commit f4632ee

Browse files
5.2 update
1 parent abc619c commit f4632ee

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

ActorInteractionPlugin.uplugin

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"FileVersion": 3,
3-
"Version": 3,
4-
"VersionName": "4.0.1.52",
3+
"Version": 4,
4+
"VersionName": "4.0.2.52",
55
"FriendlyName": "Mountea Interaction System",
6-
"Description": "Mountea Interaction System is an Open-source Mountea Framework components-based simple framework providing utilities for smart Actor Interaction with other Actors. Developed with Game Developers in mind to allow as easy as possible implementation while maintaining high scalability and diverse options to tweak everything.",
6+
"Description": "Mountea Interaction System is an Open-source Mountea Framework components-based simple framework providing utilities for smart Actor Interaction with other Actors.\nDeveloped with Game Developers in mind to allow as easy as possible implementation while maintaining high scalability and diverse options to tweak everything.",
77
"Category": "Mountea Framework",
8-
"CreatedBy": "Dominik Pavlicek",
8+
"CreatedBy": "Dominik (Pavlicek) Morse",
99
"CreatedByURL": "https://github.com/Mountea-Framework",
1010
"DocsURL": "https://github.com/Mountea-Framework/MounteaInteractionSystem/wiki",
1111
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/ca842c00ec0d4db0b3aad17701e1637b",
2.17 KB
Binary file not shown.

Source/ActorInteractionPluginEditor/Private/HelpButton/AIntPHelpStyle.h

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ class FAIntPHelpStyle : public FAppStyle
1919
/** @return The Slate style set for the Actor Interaction Plugin Help Button */
2020
static const ISlateStyle& Get();
2121

22+
static const FSlateBrush* GetBrush(FName PropertyName)
23+
{
24+
const auto& Style = Get();
25+
return Style.GetBrush(PropertyName);
26+
}
27+
2228
static FName GetStyleSetName();
2329

2430
private:

Source/ActorInteractionPluginEditor/Private/Popup/AIntPPopup.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,18 @@ void AIntPPopup::Register(const FString& Changelog)
138138
{
139139
const FString PluginDirectory = IPluginManager::Get().FindPlugin(TEXT("ActorInteractionPlugin"))->GetBaseDir();
140140
const FString UpdatedConfigFile = PluginDirectory + "/Config/UpdateConfig.ini";
141-
FString CurrentPluginVersion = GetPluginVersion().PluginVersionName;
141+
FString CurrentPluginVersion = GetPluginVersion().PluginVersionName;
142+
FString NormalizedConfigFilePath = FConfigCacheIni::NormalizeConfigIniPath(UpdatedConfigFile);
142143

143144
UAIntPPopupConfig* AIntPPopupConfig = GetMutableDefault<UAIntPPopupConfig>();
144145

145-
if (FPaths::FileExists(UpdatedConfigFile))
146+
if (FPaths::FileExists(NormalizedConfigFilePath))
146147
{
147-
AIntPPopupConfig->LoadConfig(nullptr, *UpdatedConfigFile);
148+
AIntPPopupConfig->LoadConfig(nullptr, *NormalizedConfigFilePath);
148149
}
149150
else
150151
{
151-
AIntPPopupConfig->SaveConfig(CPF_Config, *UpdatedConfigFile);
152+
AIntPPopupConfig->SaveConfig(CPF_Config, *NormalizedConfigFilePath);
152153
}
153154

154155
// Override Plugin Version from GitHub
@@ -163,7 +164,7 @@ void AIntPPopup::Register(const FString& Changelog)
163164
if (AIntPPopupConfig->PluginVersionUpdate != CurrentPluginVersion)
164165
{
165166
AIntPPopupConfig->PluginVersionUpdate = CurrentPluginVersion;
166-
AIntPPopupConfig->SaveConfig(CPF_Config, *UpdatedConfigFile);
167+
AIntPPopupConfig->SaveConfig(CPF_Config, *NormalizedConfigFilePath);
167168

168169
Open(Changelog);
169170
}

0 commit comments

Comments
 (0)