Skip to content

Commit

Permalink
Fix planet prison require
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerkiz committed Feb 20, 2025
1 parent 4e1a3ba commit 0febdfc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions maps/planet_prison.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ local MapConfig = require 'maps.planet_prison.config'
local Token = require 'utils.token'
local Color = require 'utils.color_presets'
local PlayerList = require 'utils.gui.player_list'
local PlayerShip = require('planet_prison.bp.player_ship')
local Merchant = require('planet_prison.bp.merchant')
PlayerList.settings.disable_camera_for_non_admins = true
-- require 'modules.thirst'
local minable_wreckage_enabled = script.active_mods['MineableWreckage'] or false
Expand Down Expand Up @@ -548,8 +550,8 @@ end

this.bp =
{
player_ship = require('planet_prison.bp.player_ship'),
merchant = require('planet_prison.bp.merchant')
player_ship = PlayerShip,
merchant = Merchant
}
local function init_game()
Freeplay.set('disabled', true)
Expand Down

0 comments on commit 0febdfc

Please sign in to comment.