Code Review 1 #161
Labels
No labels
bug
duplicate
enhancement
est/∞
est/0
est/0.5
est/1
est/14
est/2
est/3
est/5
est/8
est/none
help wanted
kind/task
kind/user story
organisation
priority/high
priority/low
priority/mid
question
team
wontfix
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ufr/sopra10#161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
1.Optimized the entity check. Instead of creating a new list every time, we now reuse the same one. This stops the Garbage Collector from causing lag spikes.
2.Moved sled spawning from World.cs to WorldBuilder.cs to fix a bug where loading a save would duplicate the sled.
3.Fixed a bug where loading a save file would trigger loot drops for all existing entities (e.g., trees dropping wood). I implemented a new Unload() method in the Entity class to silently remove entities without triggering the OnDestroyed event, which LootBehavior listens to.
4.resolve some warning