mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Critical maploader fix
Definitely do not update the server without this change. And a gateway tweak thing because that was my original intent with this branch.
This commit is contained in:
@@ -39,17 +39,17 @@
|
||||
wait = world.time + config.gateway_delay //+ thirty minutes default
|
||||
awaygate = locate(/obj/machinery/gateway/centeraway)
|
||||
. = ..()
|
||||
density = 1 //VOREStation Add
|
||||
|
||||
/obj/machinery/gateway/centerstation/update_icon()
|
||||
if(active)
|
||||
icon_state = "oncenter"
|
||||
return
|
||||
icon_state = "offcenter"
|
||||
|
||||
/* VOREStation Removal - Doesn't do anything
|
||||
/obj/machinery/gateway/centerstation/New()
|
||||
density = 1
|
||||
|
||||
|
||||
*/ //VOREStation Removal End
|
||||
|
||||
obj/machinery/gateway/centerstation/process()
|
||||
if(stat & (NOPOWER))
|
||||
@@ -90,7 +90,7 @@ obj/machinery/gateway/centerstation/process()
|
||||
if(world.time < wait)
|
||||
user << "<span class='notice'>Error: Warpspace triangulation in progress. Estimated time to completion: [round(((wait - world.time) / 10) / 60)] minutes.</span>"
|
||||
return
|
||||
if(!awaygate.calibrated && LAZYLEN(awaydestinations))
|
||||
if(!awaygate.calibrated && !LAZYLEN(awaydestinations)) //VOREStation Edit
|
||||
user << "<span class='notice'>Error: Destination gate uncalibrated. Gateway unsafe to use without far-end calibration update.</span>"
|
||||
return
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ var/global/use_preloader = FALSE
|
||||
++turfsSkipped
|
||||
#endif
|
||||
CHECK_TICK
|
||||
maxx = max(maxx, ++xcrd)
|
||||
maxx = max(maxx, xcrd++)
|
||||
key_list[++key_list.len] = line_keys
|
||||
|
||||
// Rotate the list according to orientation
|
||||
|
||||
Reference in New Issue
Block a user