cheat
This commit is contained in:
@@ -700,10 +700,13 @@ where
|
|||||||
state: game.state.clone(),
|
state: game.state.clone(),
|
||||||
instruction: instruction.clone(),
|
instruction: instruction.clone(),
|
||||||
});
|
});
|
||||||
game.state
|
// This might be considered cheaing a bit, we're pre-approving the instruction here by accessing the inner fields.
|
||||||
.stage_instruction(&mut stats.inner, &config.inner, instruction)
|
G::process_instruction(StagedInstruction {
|
||||||
.unwrap()
|
game: &mut game.state,
|
||||||
.commit();
|
stats: &mut stats.inner,
|
||||||
|
config: &config.inner,
|
||||||
|
instruction,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user