Files

11 lines
287 B
C++
Raw Permalink Normal View History

2024-05-23 20:57:33 -05:00
#include <libultraship/bridge.h>
#include "Enhancements/GameInteractor/GameInteractor.h"
void RegisterUnrestrictedItems() {
REGISTER_VB_SHOULD(GI_VB_ITEM_BE_RESTRICTED, {
if (CVarGetInteger("gCheats.UnrestrictedItems", 0)) {
*should = false;
}
});
}