Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player.
This commit is contained in:
parent
5874505902
commit
1aff5f1fd1
14 changed files with 53 additions and 593 deletions
|
|
@ -13,7 +13,7 @@ class Migration(DataMigration):
|
|||
try:
|
||||
for player in orm.PlayerDB.objects.all():
|
||||
if not player.db_cmdset_storage:
|
||||
player.db_cmdset_storage = settings.CMDSET_OOC
|
||||
player.db_cmdset_storage = settings.CMDSET_PLAYER
|
||||
player.save()
|
||||
except utils.DatabaseError:
|
||||
# this will happen if we start db from scratch (ignore in that case)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue