mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Avoid using an unnecessary variable.
This commit is contained in:
@@ -59,13 +59,11 @@ public class PuzzleScreen extends LaunchScreen {
|
||||
@Override
|
||||
public void run() {
|
||||
// Load selected puzzle
|
||||
final Puzzle selected = result;
|
||||
|
||||
final HostedMatch hostedMatch = GuiBase.getInterface().hostMatch();
|
||||
hostedMatch.setStartGameHook(new Runnable() {
|
||||
@Override
|
||||
public final void run() {
|
||||
selected.applyToGame(hostedMatch.getGame());
|
||||
result.applyToGame(hostedMatch.getGame());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user