Fixed bridges not linking when landing
This commit is contained in:
@@ -329,6 +329,16 @@ public class PatcherTests{
|
||||
assertEquals(1, Blocks.conveyor.size);
|
||||
}
|
||||
|
||||
@Test
|
||||
void assignStringToObject() throws Exception{
|
||||
Vars.state.patcher.apply(Seq.with("""
|
||||
unit.dagger.weapons: ["frog"]
|
||||
"""));
|
||||
|
||||
assertEquals(1, Vars.state.patcher.patches.first().warnings.size);
|
||||
assertEquals(2, UnitTypes.dagger.weapons.size);
|
||||
}
|
||||
|
||||
@Test
|
||||
void gibberish() throws Exception{
|
||||
Vars.state.patcher.apply(Seq.with("""
|
||||
|
||||
Reference in New Issue
Block a user