Update to latest Arbutils.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -48,9 +48,7 @@ namespace CreatureLib::Battling {
|
||||
std::optional<ArbUt::BorrowedPtr<Script>> GetNextNotNull() {
|
||||
while (HasNext()) {
|
||||
auto s = GetNext();
|
||||
if (s != nullptr) {
|
||||
return s;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
auto aggregator = source->GetScriptIterator(); \
|
||||
while (aggregator.HasNext()) { \
|
||||
auto next = aggregator.GetNext(); \
|
||||
if (next == nullptr) \
|
||||
continue; \
|
||||
try { \
|
||||
next->hookName(__VA_ARGS__); \
|
||||
} catch (const std::exception& e) { \
|
||||
|
||||
Reference in New Issue
Block a user