Skip to content

Commit

Permalink
fix crash with farming script+pySE
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Nov 29, 2023
1 parent 6a44e66 commit d56cafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/farming/farming.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local farm_buildings = require 'farm-building-list'
---@param kingdom_name 'animal' | 'plant' | 'fungi'
function Farming.register_type(farm_name, kingdom_name)
log('remote registered farm \'' .. farm_name .. '\' (' .. kingdom_name .. ')')
global.farm_prototypes = global.farm_prototypes or farm_buildings
global.farm_prototypes[farm_name] = kingdom_name
end

Expand Down

0 comments on commit d56cafd

Please sign in to comment.