Browse Source

rts update

master
Felty 1 year ago
parent
commit
51150065d3
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      vidyen-rts/includes/functions/train/vidyen_rts_train_soldiers_ajax.php
  2. +1
    -0
      vidyen-rts/vidyen-rts-menu.php
  3. +1
    -1
      vidyen-rts/vidyen-rts.php

+ 1
- 1
vidyen-rts/includes/functions/train/vidyen_rts_train_soldiers_ajax.php View File

@ -199,7 +199,7 @@ function vidyen_rts_train_soldiers_action()
vyps_point_deduct_func( $currency_point_id, $money_spent, $user_id, $recruit_reason, $vyps_meta_id, $game_id);
//Time to remove laborers via functions.
vyps_point_deduct_func( $laborer_point_id, $soldiers_trained, $user_id, $recruit_reason, $vyps_meta_id );
vyps_point_deduct_func( $laborer_point_id, $soldiers_trained, $user_id, $recruit_reason, $vyps_meta_id, $game_id );
//Time to credit resources. I'm being lazy and getting the whole response sum so i can see in js (this whole thing was made in 2 hours)
$response_sum = vyps_point_credit_func( $solider_point_id, $soldiers_trained, $user_id, $recruit_reason, $vyps_meta_id, $vyps_meta_data = '', $vyps_meta_subid1 = '', $vyps_meta_subid2 ='', $vyps_meta_subid3= '', $game_id);

+ 1
- 0
vidyen-rts/vidyen-rts-menu.php View File

@ -90,6 +90,7 @@ function vidyen_rts_sub_menu_page()
//Village ID
$village_id = intval(vyps_rts_sql_village_id_func());
$village_burning_id = intval(vyps_rts_sql_village_burning_id_func());
//Castle ID
$castle_id = intval(vyps_rts_sql_castle_id_func());

+ 1
- 1
vidyen-rts/vidyen-rts.php View File

@ -3,7 +3,7 @@
Plugin Name: VidYen RTS Plugin
Plugin URI: https://wordpress.org/plugins/vidyen-point-system-vyps/
Description: Adds RTS Game to VidYen Point System
Version: 0.9.22
Version: 0.9.24
Author: VidYen, LLC
Author URI: https://vidyen.com/
License: GPLv2

Loading…
Cancel
Save