XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

Fixed Typo in config.json (#291)

5a083f5b
Vampire Kitten <95658710+VampireKitten@users.noreply.github.com>
提交于

代码差异

3 个文件 +3 -3
Modified config.json.example +1 -1
@@ -16,7 +16,7 @@
16 16 "unlockAllQuests": true,
17 17 "completeAllQuests": false,
18 18 "infiniteResources": true,
19 "unlockallShipFeatures": true,
19 "unlockAllShipFeatures": true,
20 20 "unlockAllShipDecorations": true,
21 21 "unlockAllFlavourItems": true,
22 22 "unlockAllSkins": true,
Modified src/controllers/api/getShipController.ts +1 -1
@@ -31,7 +31,7 @@ export const getShipController: RequestHandler = async (req, res) => {
31 31 Apartment: personalRooms.Apartment
32 32 };
33 33
34 if (config.unlockallShipFeatures) {
34 if (config.unlockAllShipFeatures) {
35 35 getShipResponse.Ship.Features = allShipFeatures;
36 36 }
37 37
Modified src/services/configService.ts +1 -1
@@ -14,7 +14,7 @@ interface IConfig {
14 14 unlockAllQuests?: boolean;
15 15 completeAllQuests?: boolean;
16 16 infiniteResources?: boolean;
17 unlockallShipFeatures?: boolean;
17 unlockAllShipFeatures?: boolean;
18 18 unlockAllShipDecorations?: boolean;
19 19 unlockAllFlavourItems?: boolean;
20 20 unlockAllSkins?: boolean;