Skip to content

Commit

Permalink
crashfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkolokotronis committed Apr 25, 2019
1 parent 5d17598 commit ad82f09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion HeroInTheDark/modinfo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "Hero in the Dark"
id="herointhedark"
description = "This mod will incorporate traditional fantasy elements and lore while retaining the artistic style and the survive or die elements of Don\'t Starve. A large focus of the lore and design of the mod will be from D&D and other games/books within the genre."
author = "kraken121 / DeathDisciple"
version = "0.2.3 Beta"
version = "0.2.4 Beta"

forumthread = "/files/file/518-mod-hero-in-the-dark/"
icon_atlas = "modicon.xml"
Expand Down
12 changes: 6 additions & 6 deletions HeroInTheDark/scripts/overrides/fa_behavior_override.lua
Original file line number Diff line number Diff line change
Expand Up @@ -438,17 +438,17 @@ local WhiteWhaleBrain=require "brains/whitewhalebrain"
local old_onstart=WhiteWhaleBrain.OnStart
function WhiteWhaleBrain:OnStart()
old_onstart(self)
appendNode(self.inst.bt.root,fearnode(inst),2)
appendNode(self.inst.bt.root,dazeNode(inst),2)
appendNode(self.inst.bt.root,stunNode(inst),2)
appendNode(self.bt.root,fearnode(self),2)
appendNode(self.bt.root,dazeNode(self),2)
appendNode(self.bt.root,stunNode(self),2)
end
local BallphinBrain=require "brains/ballphinbrain"
local old_onstart=BallphinBrain.OnStart
function BallphinBrain:OnStart()
old_onstart(self)
appendNode(self.inst.bt.root,fearnode(inst),2)
appendNode(self.inst.bt.root,dazeNode(inst),2)
appendNode(self.inst.bt.root,stunNode(inst),2)
appendNode(self.bt.root,fearnode(self),2)
appendNode(self.bt.root,dazeNode(self),2)
appendNode(self.bt.root,stunNode(self),2)
end
local KnightBoatBrain=require "brains/knightboatbrain"
local old_onstart=KnightBoatBrain.OnStart
Expand Down

0 comments on commit ad82f09

Please sign in to comment.