mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Now the mob level will be also be set properly to match player's on load.
This commit is contained in:
parent
1299b928b2
commit
819371fd73
@ -24,8 +24,6 @@ class_name PlayerGD
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
|
||||
|
||||
func _process(delta):
|
||||
if Input.is_action_just_pressed("sheath"):
|
||||
get_character_skeleton().toggle_sheath()
|
||||
|
@ -278,6 +278,8 @@ func load_character(file_name : String) -> void:
|
||||
#TODO hack, do this properly
|
||||
_player.set_physics_process(false)
|
||||
|
||||
mob_level = _player.clevel
|
||||
|
||||
set_player(_player.get_body())
|
||||
|
||||
Server.sset_seed(_player.sseed)
|
||||
|
Loading…
Reference in New Issue
Block a user