v0.3.4: fixed some bugs with actor time
This commit is contained in:
committed by
Evan Debenham
parent
b079aad640
commit
801fd58e7c
@@ -136,7 +136,7 @@ public abstract class Actor implements Bundlable {
|
||||
|
||||
public static void init() {
|
||||
|
||||
addDelayed( Dungeon.hero, -Float.MIN_VALUE );
|
||||
add( Dungeon.hero );
|
||||
|
||||
for (Mob mob : Dungeon.level.mobs) {
|
||||
add( mob );
|
||||
@@ -231,7 +231,7 @@ public abstract class Actor implements Bundlable {
|
||||
ids.put( actor.id(), actor );
|
||||
|
||||
all.add( actor );
|
||||
actor.time = time;
|
||||
actor.time += time;
|
||||
actor.onAdd();
|
||||
|
||||
if (actor instanceof Char) {
|
||||
|
||||
Reference in New Issue
Block a user