Prevent double retrieval after accidental double activation
This commit is contained in:
parent
40b946d83e
commit
d7058764d4
Binary file not shown.
@ -164,8 +164,6 @@ inline void ReturnSupplies()
|
||||
return;
|
||||
}
|
||||
|
||||
bSuppliesFetched = false;
|
||||
|
||||
if (GetSettings().at("ShowReturningNotification")) {
|
||||
RE::DebugNotification("Returning supplies...");
|
||||
}
|
||||
@ -237,11 +235,13 @@ inline void ReturnSupplies()
|
||||
}
|
||||
});
|
||||
}).detach();
|
||||
|
||||
bSuppliesFetched = false;
|
||||
}
|
||||
|
||||
inline bool FetchSupplies(RE::TESFurniture* a_furn)
|
||||
{
|
||||
if (!a_furn) {
|
||||
if (!a_furn || bSuppliesFetched) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user