plaza-in-a-heatwave / Cadesim

The cadesim server and client, inspired by Puzzle Pirates.
1 stars 1 forks source link

When making a custom map it doesn't pass across the flags #99

Closed plaza-in-a-heatwave closed 4 years ago

plaza-in-a-heatwave commented 4 years ago

All other elements are carried across

This may be related to MapType.java which loads a map and then removes its flags: MapType.java:65

This may also be related to issue #102 (and PR #106 which addresses it)

David52920 commented 4 years ago

Correct, MapType.java sets the flags on the server for finalMap but doesn't for the custom map since it load() just returns either finalMap or customMap.

For loop for the custom map should fix it.