mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 10:54:16 +00:00
Fix crash when loading save state while grabbing with Olimar (#604)
* grab check, maybe useless * fix crash via article_allowlist * fmt
This commit is contained in:
parent
1186398c50
commit
58f699b285
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ use crate::training::ui::notifications;
|
|||
use crate::{is_ptrainer, ITEM_MANAGER_ADDR};
|
||||
|
||||
// Don't remove Mii hats, or Luma, or crafting table
|
||||
const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 7] = [
|
||||
const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 8] = [
|
||||
(
|
||||
FIGHTER_KIND_MIIFIGHTER,
|
||||
FIGHTER_MIIFIGHTER_GENERATE_ARTICLE_HAT,
|
||||
|
@ -52,6 +52,7 @@ const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 7] = [
|
|||
(FIGHTER_KIND_PICKEL, FIGHTER_PICKEL_GENERATE_ARTICLE_TABLE),
|
||||
(FIGHTER_KIND_ELIGHT, FIGHTER_ELIGHT_GENERATE_ARTICLE_ESWORD),
|
||||
(FIGHTER_KIND_EFLAME, FIGHTER_EFLAME_GENERATE_ARTICLE_ESWORD),
|
||||
(FIGHTER_KIND_PIKMIN, FIGHTER_PIKMIN_GENERATE_ARTICLE_PIKMIN),
|
||||
];
|
||||
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in a new issue