mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Movable Overmap Events (#15551)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
var/range = OVERMAP_PROJECTILE_RANGE_MEDIUM
|
||||
var/current_range_counter = 0
|
||||
var/speed = 0 //A projectile with 0 speed does not move. Note that this is the 'lag' variable on walk_towards! Lower speed is better.
|
||||
|
||||
|
||||
var/moving = FALSE //Is the projectile actively moving on the overmap?
|
||||
var/entering = FALSE //Are we entering an entry point?
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
handle_wraparound()
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/projectile/proc/handle_wraparound()
|
||||
/obj/effect/overmap/projectile/handle_wraparound()
|
||||
var/nx = x
|
||||
var/ny = y
|
||||
var/low_edge = 1
|
||||
@@ -156,4 +156,4 @@
|
||||
/obj/effect/overmap/projectile/Bump(var/atom/A)
|
||||
if(istype(A,/turf/unsimulated/map/edge))
|
||||
handle_wraparound()
|
||||
..()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user