Fixes build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2022-05-28 11:29:33 +02:00
parent 6f0e664e74
commit 5c005f31fe
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ export_func u8 CreatureLib_Battle_AddVolatileScript(Battle* p, BattleScript* scr
}
export_func u8 CreatureLib_Battle_RemoveVolatileScript(Battle* p, const char* key) {
Try(p->RemoveVolatileScript(ArbUt::StringView::CalculateHash(key));)
Try(p->RemoveVolatileScriptByHash(ArbUt::StringView::CalculateHash(key));)
}
export_func u8 CreatureLib_Battle_RemoveVolatileScriptWithScript(Battle* p, BattleScript* script) {
Try(p->RemoveVolatileScript(script);)

View File

@ -59,7 +59,7 @@ export_func u8 CreatureLib_BattleSide_AddVolatileScript(BattleSide* p, BattleScr
}
export_func u8 CreatureLib_BattleSide_RemoveVolatileScript(BattleSide* p, const char* key) {
Try(p->RemoveVolatileScript(ArbUt::StringView::CalculateHash(key));)
Try(p->RemoveVolatileScriptByHash(ArbUt::StringView::CalculateHash(key));)
}
export_func u8 CreatureLib_BattleSide_RemoveVolatileScriptWithScript(BattleSide* p, BattleScript* script) {
Try(p->RemoveVolatileScript(script);)