mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
This commit is contained in:
@@ -47,11 +47,11 @@
|
||||
overlaystate = "blueOverlay"
|
||||
preview += image('icons/turf/overlays.dmi', T, overlaystate)
|
||||
BM.holder.images += preview
|
||||
return T
|
||||
return T
|
||||
|
||||
/datum/buildmode_mode/proc/highlight_region(region)
|
||||
BM.holder.images -= preview
|
||||
for(var/t in region)
|
||||
for(var/T in region)
|
||||
preview += image('icons/turf/overlays.dmi', T, "redOverlay")
|
||||
BM.holder.images += preview
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
use_corner_selection = TRUE
|
||||
var/use_json = TRUE
|
||||
|
||||
|
||||
/datum/buildmode_mode/save/show_help(mob/user)
|
||||
to_chat(user, "<span class='notice'>***********************************************************</span>")
|
||||
to_chat(user, "<span class='notice'>Left Mouse Button on turf/obj/mob = Select corner</span>")
|
||||
@@ -23,6 +23,6 @@
|
||||
if(use_json)
|
||||
map_flags = 32 // Magic number defined in `writer.dm` that I can't use directly
|
||||
// because #defines are for some reason our coding standard
|
||||
var/our_map = maploader.save_map(cornerA, cornerB, map_name, map_flags)
|
||||
var/our_map = GLOB.maploader.save_map(cornerA, cornerB, map_name, map_flags)
|
||||
user << ftp(our_map) // send the map they've made! Or are stealing, whatever
|
||||
to_chat(user, "Map saving complete! [our_map]")
|
||||
|
||||
Reference in New Issue
Block a user