Real object ids, fixed warping bug
This commit is contained in:
+3
-3
@@ -64,9 +64,9 @@ content = """
|
||||
# # #
|
||||
# +++ # #
|
||||
# # #
|
||||
# | #
|
||||
# #
|
||||
# #
|
||||
# oo G - | @ #
|
||||
# oo G - @ #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
@@ -119,7 +119,7 @@ fn tick(dt) {
|
||||
move(East);
|
||||
}
|
||||
}
|
||||
// Fires when something steps into this object; id is the bumper's array index,
|
||||
// Fires when something steps into this object; id is the bumper's object id,
|
||||
// or -1 for the player.
|
||||
fn bump(id) {
|
||||
log(`mover bumped by ${id}`);
|
||||
|
||||
Reference in New Issue
Block a user