diff --git a/src/world/lua.rs b/src/world/lua.rs index 522a712..0c3d563 100644 --- a/src/world/lua.rs +++ b/src/world/lua.rs @@ -136,7 +136,7 @@ impl LuaPlayer { fn unlock_action(&mut self, id: u32) { let op_code = ServerZoneIpcType::ActorControlSelf; let data = ServerZoneIpcData::ActorControlSelf(ActorControlSelf { - category: ActorControlCategory::ToggleActionUnlock { id, unlocked: true }, + category: ActorControlCategory::ToggleUnlock { id, unlocked: true }, }); self.create_segment_self(op_code, data);