mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Restored the card sorting for magic: the color component of sort_index was accidentally removed.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1125 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -162,9 +162,10 @@ include file: /magic-blends.mse-include/new-blends
|
||||
############################################################## Card number
|
||||
|
||||
# Index for sorting, white cards are first, so white->A, blue->B, .. ,
|
||||
# The code consists of 4 parts:
|
||||
# normal/token, color, shifted, split
|
||||
# The code consists of 3 parts:
|
||||
# color, shifted, split
|
||||
sort_index := {
|
||||
color_of_card() +
|
||||
(if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones
|
||||
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
|
||||
":"
|
||||
|
||||
Reference in New Issue
Block a user