This have happened since last beta update. Aa maincharacter is nil:
function Quaker:MiniQuake(rad, num, duration, target) self.inst.SoundEmitter:PlaySound("dontstarve/cave/earthquake", "miniearthquake") self.inst.SoundEmitter:SetParameter("miniearthquake", "intensity", 1) local time = 0 for i=1,num do self.inst:DoTaskInTime(time, function() local interiorSpawner = GetInteriorSpawner() local in_interior = interiorSpawner:IsPlayerConsideredInside() local char_pos = in_interior and Vector3(interiorSpawner:GetInteriorEntryPosition()) or maincharacter:GetPosition() local spawn_point = self:GetSpawnPoint(char_pos, rad) if spawn_point then local db = self:SpawnDebris(spawn_point, in_interior) if not in_interior then start_grounddetection(db) end end end) time = time + duration/num end self.inst:DoTaskInTime(duration, function() self.inst.SoundEmitter:KillSound("miniearthquake") end) end
Steps to Reproduce
1. Use a tele staff on the player
2. Game assert
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now