space cleanup (#17300)

* space cleanup

* this

* this too

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2025-03-14 06:37:13 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent a7314a8766
commit c8aff28c5b
128 changed files with 1859 additions and 1861 deletions
+15 -15
View File
@@ -38,28 +38,28 @@
icon_state = "key"
/obj/machinery/gateway/centeraway/proc/entrydetect()
return
return
/obj/machinery/gateway/centeraway/mcguffin/entrydetect()
if(key)
return
if(key)
return
var/list/spawners = list()
for(var/obj/effect/landmark/mcguffin_spawner/sp in world)
spawners += sp
var/list/spawners = list()
for(var/obj/effect/landmark/mcguffin_spawner/sp in world)
spawners += sp
var/obj/effect/landmark/mcguffin_spawner/the_cool_one = pick(spawners)
var/obj/effect/landmark/mcguffin_spawner/the_cool_one = pick(spawners)
var/atom/destination = get_turf(the_cool_one)
var/obj/structure/closet/CL = locate() in destination
if(CL)
destination = CL
var/atom/destination = get_turf(the_cool_one)
var/obj/structure/closet/CL = locate() in destination
if(CL)
destination = CL
if(!destination)
warning("A gateway is trying to spawn it's mcguffin but there are no mapped in spawner landmarks")
destination = get_turf(src)
if(!destination)
warning("A gateway is trying to spawn it's mcguffin but there are no mapped in spawner landmarks")
destination = get_turf(src)
key = new mcguffin_type(destination)
key = new mcguffin_type(destination)
/obj/machinery/gateway/centeraway/mcguffin/Bumped(atom/movable/M as mob|obj)
if(!ready) return
+2 -2
View File
@@ -24,11 +24,11 @@
// var/value = null
if (pos)
// No, don't do lowertext here, that breaks paths on linux
// No, don't do lowertext here, that breaks paths on linux
name = copytext(t, 1, pos)
// value = copytext(t, pos + 1)
else
// No, don't do lowertext here, that breaks paths on linux
// No, don't do lowertext here, that breaks paths on linux
name = t
if (!name)