Empire resources and vacation mode
* Modified the empire resources update to check for vacation mode and apply the modifier from vacation.cashDivider if necessary. * Some parts of the database need to be reloaded: -> 050-updates/015-empire-resources.sql
This commit is contained in:
parent
96670d45be
commit
cb65a6e643
3 changed files with 83 additions and 26 deletions
legacyworlds-server-data/db-structure/tests/user/050-updates/015-empire-resources
|
@ -4,7 +4,7 @@
|
|||
BEGIN;
|
||||
SELECT plan( 1 );
|
||||
|
||||
SELECT diag_test_name( 'sys.process_empire_resources_updates() - Privileges' );
|
||||
SELECT diag_test_name( 'sys.process_empire_resources_updates() - No EXECUTE privilege' );
|
||||
SELECT throws_ok( 'SELECT sys.process_empire_resources_updates( 1 )' , 42501 );
|
||||
|
||||
SELECT * FROM finish( );
|
||||
|
|
Reference in a new issue