2024-05-07 06:48:23 +02:00
|
|
|
#include <libultraship/bridge.h>
|
|
|
|
|
#include "Enhancements/GameInteractor/GameInteractor.h"
|
|
|
|
|
|
|
|
|
|
void RegisterUnbreakableRazorSword() {
|
|
|
|
|
REGISTER_VB_SHOULD(GI_VB_LOWER_RAZOR_SWORD_DURABILITY, {
|
2024-05-13 12:02:21 -04:00
|
|
|
if (CVarGetInteger("gCheats.UnbreakableRazorSword", 0)) {
|
2024-05-07 06:48:23 +02:00
|
|
|
*should = false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|