fix broken status.primaryDirectives

why did it even compile before. what the fuck!
This commit is contained in:
Kae 2024-10-29 20:12:58 +11:00
parent 391f148f11
commit cc5fbb0087

View File

@ -81,7 +81,7 @@ LuaCallbacks LuaBindings::makeStatusControllerCallbacks(StatusController* statCo
callbacks.registerCallbackWithSignature<bool, String>("uniqueStatusEffectActive",
bind(&StatusControllerCallbacks::uniqueStatusEffectActive, statController, _1));
callbacks.registerCallbackWithSignature<String>("primaryDirectives", bind(&StatusController::primaryDirectives, statController));
callbacks.registerCallbackWithSignature<Directives>("primaryDirectives", bind(&StatusController::primaryDirectives, statController));
callbacks.registerCallback("setPrimaryDirectives", [statController](Maybe<String> const& directives) { statController->setPrimaryDirectives(directives.value()); });
callbacks.registerCallbackWithSignature<void, DamageRequest>("applySelfDamageRequest", bind(&StatusController::applySelfDamageRequest, statController, _1));