mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fix map element loading
This commit is contained in:
@@ -1164,7 +1164,7 @@ var/list/admin_verbs_mod = list(
|
||||
|
||||
log_admin("[key_name(src)] is loading [ME.file_path] at [x_coord], [y_coord], [z_coord]")
|
||||
message_admins("[key_name_admin(src)] is loading [ME.file_path] at [x_coord], [y_coord], [z_coord]")
|
||||
ME.load(x_coord, y_coord, z_coord)
|
||||
ME.load(x_coord - 1, y_coord - 1, z_coord) //Reduce X and Y by 1 because these arguments are actually offsets, and they're added to 1;1 in the map loader. Without this, spawning something at 1;1 would result in it getting spawned at 2;2
|
||||
message_admins("[ME.file_path] loaded at [ME.location ? formatJumpTo(ME.location) : "[x_coord], [y_coord], [z_coord]"]")
|
||||
|
||||
/client/proc/create_awaymission()
|
||||
|
||||
Reference in New Issue
Block a user