StratusNetwork / issues

Issue tracker for the Stratus Network
2 stars 1 forks source link

Payload cannot be added as a gamemode in XML. #159

Closed Matic0B closed 6 years ago

Matic0B commented 6 years ago

<gamemode>payload</gamemode> to set the gamemode for Payload maps in the XML

https://github.com/StratusNetwork/OCN/pull/40 https://github.com/StratusNetwork/ProjectAres/pull/62

Doesn't seem to work

PotatoStealer commented 6 years ago

This is because Payload is internally known as koth, and is defined as so in PayloadDefinition. Its Stream<MapDoc.Gamemode> gamemodes() method has to be changed to return Stream.of(MapDoc.Gamemode.payload)