Skip to content

Commit

Permalink
this is probably better for verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Dec 29, 2024
1 parent 85107e8 commit 8233c16
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/modules/admin/admin_modal/modals/load_map_sector.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
ADMIN_VERB_DEF(load_map_sector, R_ADMIN, "Upload Map Sector", "Upload a custom map.", VERB_CATEGORY_ADMIN)
caller.holder.open_admin_modal(/datum/admin_modal/load_map_sector)

#warn do it this way instead

Check warning on line 9 in code/modules/admin/admin_modal/modals/load_map_sector.dm

View workflow job for this annotation

GitHub Actions / Run Linters

#warn do it this way instead
// ADMIN_VERB_DECLARE(load_map_sector)
// name = "Load Map Sector"
// desc = "Create or upload a custom map."
// category = VERB_CATEGORY_ADMIN
// required_rights = R_ADMIN

// ADMIN_VEBR_BEHAVIOR(load_map_sector, name_arg)
// world.log << "look at me i accessed an arg [name_arg] and calling client [calling_client] is included by the macro!"
// calling_client.holder.open_admin_modal(/datum/admin_modal/load_map_sector)

/**
* Modal supporting arbitrary map loads.
*
Expand Down

0 comments on commit 8233c16

Please sign in to comment.