Skip to content

Commit

Permalink
Merge pull request #52 from Chateauvisionn/dev
Browse files Browse the repository at this point in the history
see pr description
  • Loading branch information
Evhann authored May 2, 2022
2 parents 24c598e + 8a6e4a3 commit dab2c05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vitrix/lib/classes/anticheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def check_jump_height(jump_height: int, valid_jump_height: int):
perform_quit()

def check_speed(speed: int):
if speed not in [3, 5, 7]:
if speed not in [3, 7]:
perform_quit()

def check_health(health: int):
Expand Down
2 changes: 1 addition & 1 deletion vitrix/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def animate_in_menu(menu=menu):
default_width = 600 # would be migrated to settings.json
default_height = 600
window.size = (default_width, default_height)

window.fullscreen = True

loading_screen.enabled = True
try:
Expand Down
1 change: 1 addition & 0 deletions vitrix/multiplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
ursina.window.borderless = False
ursina.window.title = "Vitrix - Multiplayer"
ursina.window.exit_button.visible = False
ursina.window.fullscreen = True


floor = Floor()
Expand Down
5 changes: 2 additions & 3 deletions vitrix/singleplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
from lib.UI.inventory import *

ursina.window.borderless = False
ursina.window.title = "Vitrix - Singleplayer"
ursina.window.exit_button.visible = False

paused = False

ursina.window.title = "Vitrix - Singleplayer"
ursina.Entity.default_shader = basic_lighting_shader

window.fullscreen = True

floor = Floor()
map = Map()
Expand Down

0 comments on commit dab2c05

Please sign in to comment.