Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Sep 29, 2023
1 parent bb7726e commit 3ac897d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/controllers/subsystem/minimap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,7 @@ SUBSYSTEM_DEF(minimaps)
current_map = get_current_tacmap_data(user, TRUE)
current_svg = get_current_tacmap_data(user, FALSE)
if(!current_map)
var/distribute_status = distribute_current_map_png(user)
if(!distribute_status)
if(!distribute_current_map_png(user))
return
current_map = get_current_tacmap_data(user, TRUE)

Expand Down Expand Up @@ -658,8 +657,7 @@ SUBSYSTEM_DEF(minimaps)
switch (action)
if ("menuSelect")
if(params["selection"] == "new canvas")
var/distribute_status = distribute_current_map_png(user)
if(!distribute_status)
if(!distribute_current_map_png(user))
return
current_map = get_current_tacmap_data(user, TRUE)

Expand Down

0 comments on commit 3ac897d

Please sign in to comment.